| 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 f288ce37a28190bfd5c5f16188fd64c5aad3ab02..31d6faf75ec77cc68a571b85f2c03e86a04d8254 100644
|
| --- a/ash/system/chromeos/rotation/tray_rotation_lock.cc
|
| +++ b/ash/system/chromeos/rotation/tray_rotation_lock.cc
|
| @@ -13,7 +13,7 @@
|
| #include "grit/ash_strings.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| -#include "ui/gfx/display.h"
|
| +#include "ui/display/display.h"
|
|
|
| namespace ash {
|
|
|
| @@ -149,8 +149,8 @@ bool TrayRotationLock::ShouldBeVisible() {
|
|
|
| bool TrayRotationLock::OnPrimaryDisplay() const {
|
| gfx::NativeView native_view = system_tray()->GetWidget()->GetNativeView();
|
| - gfx::Display parent_display =
|
| - gfx::Screen::GetScreen()->GetDisplayNearestWindow(native_view);
|
| + display::Display parent_display =
|
| + display::Screen::GetScreen()->GetDisplayNearestWindow(native_view);
|
| return parent_display.IsInternal();
|
| }
|
|
|
|
|