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

Unified Diff: ash/display/screen_ash.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: . 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
Index: ash/display/screen_ash.cc
diff --git a/ash/display/screen_ash.cc b/ash/display/screen_ash.cc
index 60089223bac1059192798b8089e8cffb8559919c..e01df044ad4bc76d6cb0a4c62e70bca62b4c52d2 100644
--- a/ash/display/screen_ash.cc
+++ b/ash/display/screen_ash.cc
@@ -134,7 +134,8 @@ gfx::Point ScreenAsh::GetCursorScreenPoint() {
}
gfx::NativeWindow ScreenAsh::GetWindowUnderCursor() {
- return GetWindowAtScreenPoint(Shell::GetScreen()->GetCursorScreenPoint());
+ return GetWindowAtScreenPoint(
+ gfx::Screen::GetScreen()->GetCursorScreenPoint());
}
gfx::NativeWindow ScreenAsh::GetWindowAtScreenPoint(const gfx::Point& point) {

Powered by Google App Engine
This is Rietveld 408576698