Index: ash/launcher/launcher_view_unittest.cc |
diff --git a/ash/launcher/launcher_view_unittest.cc b/ash/launcher/launcher_view_unittest.cc |
index d58bb2da887e1076ba27d102df6ca7ca4bca3767..020f0d19c3df3fda4f23f7ede2c910106539e917 100644 |
--- a/ash/launcher/launcher_view_unittest.cc |
+++ b/ash/launcher/launcher_view_unittest.cc |
@@ -122,7 +122,8 @@ TEST_F(LauncherViewIconObserverTest, AddRemove) { |
TEST_F(LauncherViewIconObserverTest, BoundsChanged) { |
Launcher* launcher = Shell::GetInstance()->launcher(); |
- gfx::Size launcher_size = launcher->widget()->GetWindowScreenBounds().size(); |
+ gfx::Size launcher_size = |
+ launcher->widget()->GetWindowBoundsInScreen().size(); |
int total_width = launcher_size.width() / 2; |
ASSERT_GT(total_width, 0); |
launcher->SetStatusSize(gfx::Size(total_width, launcher_size.height())); |