Index: ash/frame/caption_buttons/frame_size_button_unittest.cc |
diff --git a/ash/frame/caption_buttons/frame_size_button_unittest.cc b/ash/frame/caption_buttons/frame_size_button_unittest.cc |
index c63e49ef22b7726b1b6ac06944df67f309afdef4..f1b31eb0b0cd43b1a1f2ecdbb5b0ffc05d45c12e 100644 |
--- a/ash/frame/caption_buttons/frame_size_button_unittest.cc |
+++ b/ash/frame/caption_buttons/frame_size_button_unittest.cc |
@@ -337,7 +337,7 @@ TEST_F(FrameSizeButtonTest, ResetButtonsAfterClick) { |
EXPECT_EQ(CAPTION_BUTTON_ICON_RIGHT_SNAPPED, close_button()->icon()); |
const gfx::Rect& kWorkAreaBoundsInScreen = |
- ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(); |
generator.MoveMouseTo(kWorkAreaBoundsInScreen.bottom_left()); |
// None of the buttons should be pressed because we are really far away from |
@@ -388,7 +388,7 @@ TEST_F(FrameSizeButtonTest, SizeButtonPressedWhenSnapButtonHovered) { |
// the close button (snap right button) should hover the close button and |
// keep the size button pressed. |
const gfx::Rect& kWorkAreaBoundsInScreen = |
- ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(); |
generator.MoveMouseTo(kWorkAreaBoundsInScreen.bottom_left()); |
EXPECT_TRUE(AllButtonsInNormalState()); |
generator.MoveMouseTo(CenterPointInScreen(close_button())); |