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

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 106963004: Make RenderFrameHostManager swap RenderFrameHosts, not RenderViewHosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index 7af8d029f7ee0ca82f99283619118ff0e06a9c4c..a2eba69ab05aa08c49b559cb2547660fce5f0bea 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -292,7 +292,7 @@ void InterstitialPageImpl::Hide() {
weak_ptr_factory_.GetWeakPtr(),
render_view_host_));
render_view_host_ = NULL;
- frame_tree_.SwapMainFrame(NULL);
+ frame_tree_.ResetForMainFrameSwap();
controller_->delegate()->DetachInterstitialPage();
// Let's revert to the original title if necessary.
NavigationEntry* entry = controller_->GetVisibleEntry();
@@ -527,7 +527,6 @@ RenderViewHost* InterstitialPageImpl::CreateRenderViewHost() {
return RenderViewHostFactory::Create(site_instance.get(),
this,
this,
- this,
MSG_ROUTING_NONE,
MSG_ROUTING_NONE,
false,

Powered by Google App Engine
This is Rietveld 408576698