Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: ash/system/chromeos/rotation/tray_rotation_lock.cc

Issue 1608053002: Remove now-unnecessary wrappers around gfx::Screen::GetScreen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-5
Patch Set: cros Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/audio/tray_audio.cc ('k') | ash/system/chromeos/tray_display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « ash/system/audio/tray_audio.cc ('k') | ash/system/chromeos/tray_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698