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

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

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 7 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 9b6ada982f0804b6736831c1c05c1d290617a188..02d3e5ae7c145cc65f45f4213467a83a53871926 100644
--- a/content/browser/web_contents/interstitial_page_impl.cc
+++ b/content/browser/web_contents/interstitial_page_impl.cc
@@ -497,7 +497,7 @@ RenderViewHost* InterstitialPageImpl::CreateRenderViewHost() {
new SessionStorageNamespaceImpl(dom_storage_context);
RenderViewHostImpl* render_view_host = new RenderViewHostImpl(
- site_instance, this, this, MSG_ROUTING_NONE, false,
+ site_instance, this, this, MSG_ROUTING_NONE, MSG_ROUTING_NONE, false,
session_storage_namespace_impl);
web_contents_->RenderViewForInterstitialPageCreated(render_view_host);
return render_view_host;
@@ -666,6 +666,7 @@ gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const {
void InterstitialPageImpl::CreateNewWindow(
int route_id,
+ int main_frame_route_id,
const ViewHostMsg_CreateWindow_Params& params,
SessionStorageNamespace* session_storage_namespace) {
NOTREACHED() << "InterstitialPage does not support showing popups yet.";
« no previous file with comments | « content/browser/web_contents/interstitial_page_impl.h ('k') | content/browser/web_contents/render_view_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698