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

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

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: cleanups Created 3 years, 10 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/frame_host/render_frame_host_manager_unittest.cc
diff --git a/content/browser/frame_host/render_frame_host_manager_unittest.cc b/content/browser/frame_host/render_frame_host_manager_unittest.cc
index fd4f31722ea02abaa22cb7b663d1d9a24e7e4061..ff8f02f9dba2479d91cae4b95e2fd662874c9a17 100644
--- a/content/browser/frame_host/render_frame_host_manager_unittest.cc
+++ b/content/browser/frame_host/render_frame_host_manager_unittest.cc
@@ -884,8 +884,9 @@ TEST_F(RenderFrameHostManagerTest, AlwaysSendEnableViewSourceMode) {
// Tests the Init function by checking the initial RenderViewHost.
TEST_F(RenderFrameHostManagerTest, Init) {
// Using TestBrowserContext.
+ constexpr int child_process_param_id = 0;
scoped_refptr<SiteInstanceImpl> instance =
- SiteInstanceImpl::Create(browser_context());
+ SiteInstanceImpl::Create(browser_context(), child_process_param_id);
EXPECT_FALSE(instance->HasSite());
std::unique_ptr<TestWebContents> web_contents(
@@ -2509,8 +2510,9 @@ TEST_F(RenderFrameHostManagerTest, RestoreNavigationToWebUI) {
set_should_create_webui(true);
const GURL kInitUrl("chrome://foo/");
+ constexpr int child_process_param_id = 0;
scoped_refptr<SiteInstanceImpl> initial_instance =
- SiteInstanceImpl::Create(browser_context());
+ SiteInstanceImpl::Create(browser_context(), child_process_param_id);
initial_instance->SetSite(kInitUrl);
std::unique_ptr<TestWebContents> web_contents(
TestWebContents::Create(browser_context(), initial_instance));

Powered by Google App Engine
This is Rietveld 408576698