| Index: ash/accelerators/accelerator_controller.cc
|
| diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
|
| index 076df1edf83db55e1976cb5c6373218b7609aded..f4b28b5701b5981014246287dbb83379b78d0f56 100644
|
| --- a/ash/accelerators/accelerator_controller.cc
|
| +++ b/ash/accelerators/accelerator_controller.cc
|
| @@ -295,7 +295,9 @@ 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.Rotation(gfx::Display::ROTATION_SOURCE_ACTIVE)),
|
| + gfx::Display::ROTATION_SOURCE_USER);
|
| }
|
|
|
| // Rotate the active window.
|
|
|