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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 1199313006: Disable support for swapped out RenderFrame(Host) on desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 22696314621b4af82d931e56373010603b803114..e9957c566d4802802a11fd405afdd3a71be2dfea 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -121,7 +121,9 @@ int BrowserPluginGuest::GetGuestProxyRoutingID() {
// to enable this.
SiteInstance* owner_site_instance = owner_web_contents_->GetSiteInstance();
guest_proxy_routing_id_ =
- GetWebContents()->CreateSwappedOutRenderView(owner_site_instance);
+ GetWebContents()->GetFrameTree()->root()->render_manager()->
+ CreateRenderFrameProxy(owner_site_instance);
+
return guest_proxy_routing_id_;
}
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree.cc » ('j') | content/browser/frame_host/render_frame_host_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698