Index: ash/accelerators/accelerator_controller.cc |
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
index 076df1edf83db55e1976cb5c6373218b7609aded..5a6dba781a213a8716945bd23ea31ceb75b55dd3 100644 |
--- a/ash/accelerators/accelerator_controller.cc |
+++ b/ash/accelerators/accelerator_controller.cc |
@@ -295,7 +295,8 @@ void HandleRotateScreen() { |
const DisplayInfo& display_info = |
Shell::GetInstance()->display_manager()->GetDisplayInfo(display.id()); |
ash::ScreenRotationAnimator(display.id()) |
- .Rotate(GetNextRotation(display_info.rotation())); |
+ .Rotate(GetNextRotation(display_info.GetActiveRotation()), |
+ gfx::Display::ROTATION_SOURCE_USER); |
} |
// Rotate the active window. |