Index: ash/accelerators/accelerator_controller_unittest.cc |
diff --git a/ash/accelerators/accelerator_controller_unittest.cc b/ash/accelerators/accelerator_controller_unittest.cc |
index b9304b6b1f530ad5a580ff8c5070dc658b923c20..bc7243a920bf82b585d7ef0439cb0c4624abf734 100644 |
--- a/ash/accelerators/accelerator_controller_unittest.cc |
+++ b/ash/accelerators/accelerator_controller_unittest.cc |
@@ -650,8 +650,9 @@ TEST_F(AcceleratorControllerTest, CenterWindowAccelerator) { |
// Center the window using accelerator. |
GetController()->PerformActionIfEnabled(WINDOW_POSITION_CENTER); |
- gfx::Rect work_area = |
- Shell::GetScreen()->GetDisplayNearestWindow(window.get()).work_area(); |
+ gfx::Rect work_area = gfx::Screen::GetScreen() |
+ ->GetDisplayNearestWindow(window.get()) |
+ .work_area(); |
gfx::Rect bounds = window->GetBoundsInScreen(); |
EXPECT_NEAR(bounds.x() - work_area.x(), |
work_area.right() - bounds.right(), |