| Index: ash/display/display_controller.cc
|
| diff --git a/ash/display/display_controller.cc b/ash/display/display_controller.cc
|
| index 166a76f0cdc26dce639190d0720e37504d73ce59..6d3a2bc2fcccbde4f52a4517b57654527d431e69 100644
|
| --- a/ash/display/display_controller.cc
|
| +++ b/ash/display/display_controller.cc
|
| @@ -109,7 +109,7 @@ void SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host,
|
| const char kInternalProp[] = "_CHROME_DISPLAY_INTERNAL";
|
| const char kCARDINAL[] = "CARDINAL";
|
| int xrandr_rotation = RR_Rotate_0;
|
| - switch (info.rotation()) {
|
| + switch (info.ActiveRotation()) {
|
| case gfx::Display::ROTATE_0:
|
| xrandr_rotation = RR_Rotate_0;
|
| break;
|
| @@ -140,7 +140,7 @@ void SetDisplayPropertiesOnHost(AshWindowTreeHost* ash_host,
|
| scale *= kCursorMultiplierForExternalDisplays;
|
|
|
| ui::CursorController::GetInstance()->SetCursorConfigForWindow(
|
| - host->GetAcceleratedWidget(), info.rotation(), scale);
|
| + host->GetAcceleratedWidget(), info.ActiveRotation(), scale);
|
| #endif
|
| #endif
|
| scoped_ptr<RootWindowTransformer> transformer(
|
|
|