Index: ui/views/mouse_watcher.cc |
diff --git a/ui/views/mouse_watcher.cc b/ui/views/mouse_watcher.cc |
index 54db66054730e8f2b38b766a75f29e44cf2fd996..e96a46e5ae992d28a7973d22d891174cb3341f75 100644 |
--- a/ui/views/mouse_watcher.cc |
+++ b/ui/views/mouse_watcher.cc |
@@ -86,7 +86,8 @@ class MouseWatcher::Observer : public MessageLoopForUI::Observer { |
// Called from the message loop observer when a mouse movement has occurred. |
void HandleGlobalMouseMoveEvent(MouseWatcherHost::MouseEventType event_type) { |
bool contained = host()->Contains( |
- gfx::Screen::GetCursorScreenPoint(), event_type); |
+ gfx::Screen::GetCursorScreenPoint(gfx::Screen::BadTwoWorldsContext()), |
+ event_type); |
if (!contained) { |
// Mouse moved outside the host's zone, start a timer to notify the |
// listener. |