Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index 25fde9c36bfe09aa2b58c0fb5bcdbf70dc8a99f6..70a48989a1d085afaabf863e3027b989a835bee0 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -377,8 +377,9 @@ void HandleRotateScreen() { |
return; |
base::RecordAction(UserMetricsAction("Accel_Rotate_Window")); |
- gfx::Point point = Shell::GetScreen()->GetCursorScreenPoint(); |
- gfx::Display display = Shell::GetScreen()->GetDisplayNearestPoint(point); |
+ gfx::Point point = gfx::Screen::GetScreen()->GetCursorScreenPoint(); |
+ gfx::Display display = |
+ gfx::Screen::GetScreen()->GetDisplayNearestPoint(point); |
const DisplayInfo& display_info = |
Shell::GetInstance()->display_manager()->GetDisplayInfo(display.id()); |
ash::ScreenRotationAnimator(display.id()) |