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

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

Issue 10171018: Create swapped-out opener RVHs after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove parameter comments. Created 8 years, 8 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/interstitial_page_impl.cc
diff --git a/content/browser/web_contents/interstitial_page_impl.cc b/content/browser/web_contents/interstitial_page_impl.cc
index 05dd03c6208e916c63c4782a7459820b4137cd19..f7a62a643817d72d7b8bf9cc2bdd418b65915606 100644
--- a/content/browser/web_contents/interstitial_page_impl.cc
+++ b/content/browser/web_contents/interstitial_page_impl.cc
@@ -489,8 +489,8 @@ WebContents* InterstitialPageImpl::web_contents() const {
RenderViewHost* InterstitialPageImpl::CreateRenderViewHost() {
RenderViewHostImpl* render_view_host = new RenderViewHostImpl(
- SiteInstance::Create(web_contents()->GetBrowserContext()),
- this, MSG_ROUTING_NONE, dom_storage::kInvalidSessionStorageNamespaceId);
+ SiteInstance::Create(web_contents()->GetBrowserContext()), this,
+ MSG_ROUTING_NONE, false, dom_storage::kInvalidSessionStorageNamespaceId);
return render_view_host;
}
@@ -505,7 +505,8 @@ WebContentsView* InterstitialPageImpl::CreateWebContentsView() {
int32 max_page_id = web_contents()->
GetMaxPageIDForSiteInstance(render_view_host_->GetSiteInstance());
- render_view_host_->CreateRenderView(string16(), max_page_id);
+ render_view_host_->CreateRenderView(string16(), MSG_ROUTING_NONE,
+ max_page_id);
view->SetSize(web_contents_view->GetContainerSize());
// Don't show the interstitial until we have navigated to it.
view->Hide();
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | content/browser/web_contents/navigation_controller_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698