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

Unified Diff: ui/views/event_utils_aura.cc

Issue 23694022: Fixes bug where reposted events had wrong root coordinates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/event_utils_aura.cc
diff --git a/ui/views/event_utils_aura.cc b/ui/views/event_utils_aura.cc
index 37aeb8817c17b1628fdbb17c66ab9e7387b9cad2..666d47cffe406ec442dce40523eedb0f54846fc1 100644
--- a/ui/views/event_utils_aura.cc
+++ b/ui/views/event_utils_aura.cc
@@ -41,6 +41,7 @@ bool RepostLocatedEvent(gfx::NativeWindow window,
return false;
}
relocated->set_location(root_loc);
+ relocated->set_root_location(root_loc);
root_window->RepostEvent(*relocated);
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698