Index: ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc |
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc b/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc |
index 78d29335986ac7535f1c0a7a39b15eddb7dcb20d..2d62e1271292601acd84c34a27966afc8fc33818 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc |
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager_unittest.cc |
@@ -102,8 +102,10 @@ class MaximizeModeWindowManagerTest : public test::AshTestBase { |
// Resize our desktop. |
void ResizeDesktop(int width_delta) { |
- gfx::Size size = Shell::GetScreen()->GetDisplayNearestWindow( |
- Shell::GetPrimaryRootWindow()).size(); |
+ gfx::Size size = |
+ gfx::Screen::GetScreen() |
+ ->GetDisplayNearestWindow(Shell::GetPrimaryRootWindow()) |
+ .size(); |
size.Enlarge(0, width_delta); |
UpdateDisplay(size.ToString()); |
} |