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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 2530663002: Fix for DragEnd event being sent with the wrong coordinates. (Closed)
Patch Set: Created 4 years, 1 month 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: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index a27ff8ea0e1f2f0ed0051ecc442d6cd0bcec5cd8..7392fe5038f7ba6ba783eb52fb044ced193fca8e 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -564,7 +564,7 @@ void WebContentsViewAura::EndDrag(blink::WebDragOperationsMask ops) {
// TODO(paulmeyer): In the OOPIF case, should |client_loc| be converted to
// the coordinates local to |drag_start_rwh_|? See crbug.com/647249.
- web_contents_->DragSourceEndedAt(client_loc.x(), client_loc.x(),
+ web_contents_->DragSourceEndedAt(client_loc.x(), client_loc.y(),
screen_loc.x(), screen_loc.y(), ops,
drag_start_rwh_.get());
}
« 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