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

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

Issue 2505113002: Drag-and-drop: Target drag messages to specific RenderWidgets. (Closed)
Patch Set: Small fix. 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
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index b3b4e822ba2b0739870141f28e0dc31c20681428..86257b48c45cb766d5dd5f20f7056b88c1bc4b9d 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -2967,11 +2967,6 @@ void WebContentsImpl::DragSourceEndedAt(int client_x,
if (browser_plugin_embedder_.get())
browser_plugin_embedder_->DragSourceEndedAt(
client_x, client_y, screen_x, screen_y, operation);
- // TODO(paulmeyer): This will need to target the correct specific RWH to work
- // with OOPIF.
- if (GetRenderViewHost())
- GetRenderViewHost()->GetWidget()->DragSourceEndedAt(
- client_x, client_y, screen_x, screen_y, operation);
}
void WebContentsImpl::LoadStateChanged(

Powered by Google App Engine
This is Rietveld 408576698