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

Unified Diff: chrome/browser/ui/panels/panel_mouse_watcher_timer.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: fix other os's 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: chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
diff --git a/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc b/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
index a8994bfea5dc5579add62359fffb634e776ba5a2..230055b568f77f998978f9a9b02b8f342a2a0f44 100644
--- a/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
+++ b/chrome/browser/ui/panels/panel_mouse_watcher_timer.cc
@@ -65,7 +65,7 @@ bool PanelMouseWatcherTimer::IsActive() const {
}
gfx::Point PanelMouseWatcherTimer::GetMousePosition() const {
oshima 2012/10/04 20:18:26 I guess we'll need separate wachertimer per screen
- return gfx::Screen::GetCursorScreenPoint();
+ return gfx::Screen::GetCursorScreenPoint(gfx::Screen::BadTwoWorldsContext());
}
void PanelMouseWatcherTimer::DoWork() {

Powered by Google App Engine
This is Rietveld 408576698