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

Unified Diff: ash/screen_ash.cc

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tidy Created 8 years, 2 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/screen_ash.cc
diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
index efda02240d0849c533e6c4044d836a50d6bbb515..09eaf75ba6992b0599bd6022b01b3da9822af83c 100644
--- a/ash/screen_ash.cc
+++ b/ash/screen_ash.cc
@@ -96,7 +96,8 @@ gfx::Point ScreenAsh::GetCursorScreenPoint() {
}
gfx::NativeWindow ScreenAsh::GetWindowAtCursorScreenPoint() {
- const gfx::Point point = gfx::Screen::GetCursorScreenPoint();
+ const gfx::Point point = gfx::Screen::GetCursorScreenPoint(
+ ash::Shell::GetRootNativeView());
return wm::GetRootWindowAt(point)->GetTopWindowContainingPoint(point);
}

Powered by Google App Engine
This is Rietveld 408576698