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

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

Issue 2706933003: webapk: Avoid overwriting default CreationParams
Patch Set: rebase 461342 Created 3 years, 9 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 b82b68efb9cf5523402d7aa15db1d236a4b990eb..36ec7b64843513b3e0894366701a119fcc16adb8 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(
@@ -2513,8 +2514,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));
« no previous file with comments | « content/browser/frame_host/navigation_entry_impl_unittest.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698