| Index: ash/system/chromeos/rotation/tray_rotation_lock.cc
|
| diff --git a/ash/system/chromeos/rotation/tray_rotation_lock.cc b/ash/system/chromeos/rotation/tray_rotation_lock.cc
|
| index 47045869cf8e6bf70255c0e356c131d92394f77f..f288ce37a28190bfd5c5f16188fd64c5aad3ab02 100644
|
| --- a/ash/system/chromeos/rotation/tray_rotation_lock.cc
|
| +++ b/ash/system/chromeos/rotation/tray_rotation_lock.cc
|
| @@ -150,7 +150,7 @@ bool TrayRotationLock::ShouldBeVisible() {
|
| bool TrayRotationLock::OnPrimaryDisplay() const {
|
| gfx::NativeView native_view = system_tray()->GetWidget()->GetNativeView();
|
| gfx::Display parent_display =
|
| - Shell::GetScreen()->GetDisplayNearestWindow(native_view);
|
| + gfx::Screen::GetScreen()->GetDisplayNearestWindow(native_view);
|
| return parent_display.IsInternal();
|
| }
|
|
|
|
|