diff options
Diffstat (limited to 'content/browser/tab_contents/interstitial_page.cc')
-rw-r--r-- | content/browser/tab_contents/interstitial_page.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/content/browser/tab_contents/interstitial_page.cc b/content/browser/tab_contents/interstitial_page.cc index 778ef77..ed7f3c6 100644 --- a/content/browser/tab_contents/interstitial_page.cc +++ b/content/browser/tab_contents/interstitial_page.cc @@ -412,7 +412,9 @@ TabContentsView* InterstitialPage::CreateTabContentsView() { render_view_host_->SetView(view); render_view_host_->AllowBindings(content::BINDINGS_POLICY_DOM_AUTOMATION); - render_view_host_->CreateRenderView(string16()); + int32 max_page_id = + tab()->GetMaxPageIDForSiteInstance(render_view_host_->site_instance()); + render_view_host_->CreateRenderView(string16(), max_page_id); view->SetSize(tab_contents_view->GetContainerSize()); // Don't show the interstitial until we have navigated to it. view->Hide(); |