Updates the shelf reference before handling display metrics change.
commitaa1f1a0e41ce8e9e6e40bbd28d1b80de68431553
authormukai <mukai@chromium.org>
Thu, 20 Nov 2014 19:39:02 +0000 (20 11:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Nov 2014 19:39:39 +0000 (20 19:39 +0000)
tree095913583d3a2f14ba518974b33f72b1478f245e
parenta7f80b66a74e9d4be407e1a61c090e3946f6b161
Updates the shelf reference before handling display metrics change.

Sometimes OnDisplayMetricsChanged() may be called before shelf_
is set properly.

BUG=389171
R=stevenjb@chromium.org
TEST=manually

Review URL: https://codereview.chromium.org/740133002

Cr-Commit-Position: refs/heads/master@{#305063}
ash/system/web_notification/ash_popup_alignment_delegate.cc