cros: Fix launcher size not properly initialized.
commit440072d80fd5a2fc1f3748eb7c60f1eea4ac80df
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 2 Jul 2013 01:43:05 +0000 (2 01:43 +0000)
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 2 Jul 2013 01:43:05 +0000 (2 01:43 +0000)
tree9f8378103052aa53cfec90e18816048db82ce49f
parent80549c15ef5f28bd944dc3fbb1a4089f10146b6f
cros: Fix launcher size not properly initialized.

On Chrome OS, launcher is created after user login and could be created
after its container Window and status widget has finished sizing. An explicit
LayoutShelf call is needed to ensure its size is properly initialized.

BUG=252533

Review URL: https://chromiumcodereview.appspot.com/18416003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209576 0039d316-1c4b-4281-b951-d872f2087c98
ash/shelf/shelf_widget.cc
ash/shelf/shelf_widget_unittest.cc