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

Unified Diff: ui/aura/window_tree_host.cc

Issue 754013007: Fix the wrong relative coordinates from EventDispatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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: ui/aura/window_tree_host.cc
diff --git a/ui/aura/window_tree_host.cc b/ui/aura/window_tree_host.cc
index bbe52fc33a6f495f33592fe27591edef151415b3..ce8729a2ca7e1e3b45bdb43b9064c80afef16614 100644
--- a/ui/aura/window_tree_host.cc
+++ b/ui/aura/window_tree_host.cc
@@ -152,7 +152,7 @@ void WindowTreeHost::OnCursorVisibilityChanged(bool show) {
// will trigger its own mouse enter.
if (!show) {
ui::EventDispatchDetails details = dispatcher()->DispatchMouseExitAtPoint(
- dispatcher()->GetLastMouseLocationInRoot());
+ NULL, dispatcher()->GetLastMouseLocationInRoot());
sky 2015/01/05 17:23:02 nullptr
Miyoung Shin 2015/01/07 07:30:48 ok
if (details.dispatcher_destroyed)
return;
}
« ui/aura/window_event_dispatcher.h ('K') | « ui/aura/window_event_dispatcher_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698