summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher/launcher_unittest.cc')
-rw-r--r--ash/launcher/launcher_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/launcher/launcher_unittest.cc b/ash/launcher/launcher_unittest.cc
index 2a0c1eb..15d237c 100644
--- a/ash/launcher/launcher_unittest.cc
+++ b/ash/launcher/launcher_unittest.cc
@@ -25,7 +25,8 @@ TEST_F(LauncherTest, SetStatusSize) {
Launcher* launcher = Shell::GetInstance()->launcher();
LauncherView* launcher_view = launcher->GetLauncherViewForTest();
- gfx::Size launcher_size = launcher->widget()->GetWindowScreenBounds().size();
+ gfx::Size launcher_size =
+ launcher->widget()->GetWindowBoundsInScreen().size();
int total_width = launcher_size.width();
ASSERT_GT(total_width, 0);
launcher->SetStatusSize(gfx::Size(total_width / 2, launcher_size.height()));