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

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

Issue 12252016: Prevented connecting drag drop events to a SwappedOut RenderViewHost in WebContentsViewGtk (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 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_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index e8e55a7428126417ecbbf40ac46133eb9818df5c..bfc9bcc628efe1ba6b7ab92b75ea207f4cf1036b 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -3391,7 +3391,7 @@ void WebContentsImpl::NotifySwappedFromRenderManager(RenderViewHost* rvh) {
host->SetOverscrollControllerEnabled(delegate_->CanOverscrollContent());
}
- view_->RenderViewSwappedIn(render_manager_.current_host());
+ view_->RenderViewSwappedIn(render_manager_.current_host(), rvh);
}
int WebContentsImpl::CreateOpenerRenderViewsForRenderManager(

Powered by Google App Engine
This is Rietveld 408576698