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

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

Issue 2655463015: Correctly set dragLeave and dragEnd coords for OOPIF drag and drop (Closed)
Patch Set: Added checks for null RWH on drag end Created 3 years, 10 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: content/browser/web_contents/web_contents_view_android.cc
diff --git a/content/browser/web_contents/web_contents_view_android.cc b/content/browser/web_contents/web_contents_view_android.cc
index 21b2fbc64d8f491ca6b3747af9e3b858c3a23627..eed15aa9d3d3221af5a8ee13ab78e681e0e9bdf6 100644
--- a/content/browser/web_contents/web_contents_view_android.cc
+++ b/content/browser/web_contents/web_contents_view_android.cc
@@ -365,7 +365,8 @@ void WebContentsViewAndroid::OnDragUpdated(const gfx::Point& location,
}
void WebContentsViewAndroid::OnDragExited() {
- web_contents_->GetRenderViewHost()->GetWidget()->DragTargetDragLeave();
+ web_contents_->GetRenderViewHost()->GetWidget()->DragTargetDragLeave(
+ gfx::Point(), gfx::Point());
}
void WebContentsViewAndroid::OnPerformDrop(DropData* drop_data,
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698