summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/root_window_controller_unittest.cc')
-rw-r--r--ash/root_window_controller_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
index cd8bcc4..4d1c863 100644
--- a/ash/root_window_controller_unittest.cc
+++ b/ash/root_window_controller_unittest.cc
@@ -830,19 +830,19 @@ TEST_F(VirtualKeyboardRootWindowControllerTest, RestoreWorkspaceAfterLogin) {
root_window->bounds(), 100));
keyboard_window->Show();
- gfx::Rect before = ash::Shell::GetScreen()->GetPrimaryDisplay().work_area();
+ gfx::Rect before = gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
// Notify keyboard bounds changing.
controller->NotifyKeyboardBoundsChanging(keyboard_container->bounds());
if (!keyboard::IsKeyboardOverscrollEnabled()) {
- gfx::Rect after = ash::Shell::GetScreen()->GetPrimaryDisplay().work_area();
+ gfx::Rect after = gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area();
EXPECT_LT(after, before);
}
// Mock a login user profile change to reinitialize the keyboard.
ash::Shell::GetInstance()->OnLoginUserProfilePrepared();
- EXPECT_EQ(ash::Shell::GetScreen()->GetPrimaryDisplay().work_area(), before);
+ EXPECT_EQ(gfx::Screen::GetScreen()->GetPrimaryDisplay().work_area(), before);
}
// Ensure that system modal dialogs do not block events targeted at the virtual