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

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

Issue 10383292: Get rid of the need of ViewType::VIEW_TYPE_INTERSTITIAL_PAGE in content. There are no ViewType valu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
===================================================================
--- content/browser/web_contents/interstitial_page_impl.cc (revision 138257)
+++ content/browser/web_contents/interstitial_page_impl.cc (working copy)
@@ -30,7 +30,6 @@
#include "content/public/browser/web_contents_view.h"
#include "content/public/common/bindings_policy.h"
#include "content/public/common/page_transition_types.h"
-#include "content/public/common/view_type.h"
#include "net/base/escape.h"
#include "net/url_request/url_request_context_getter.h"
#include "webkit/dom_storage/dom_storage_types.h"
@@ -492,6 +491,7 @@
RenderViewHostImpl* render_view_host = new RenderViewHostImpl(
SiteInstance::Create(web_contents()->GetBrowserContext()), this, this,
MSG_ROUTING_NONE, false, dom_storage::kInvalidSessionStorageNamespaceId);
+ web_contents_->RenderViewForInterstitialPageCreated(render_view_host);
return render_view_host;
}
« no previous file with comments | « chrome/browser/renderer_host/chrome_render_view_host_observer.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698