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

Unified Diff: content/public/test/render_view_test.cc

Issue 2530573002: Share field trial allocator on zygote-using Linuxes (Closed)
Patch Set: fix call from content_main_runner Created 4 years, 1 month 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/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index ead3a91fb91a03313b43ec81c7a9812555586680..e689494d9f4504877743d343af802c903ad510d0 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -272,8 +272,9 @@ void RenderViewTest::SetUp() {
#endif
command_line_.reset(new base::CommandLine(base::CommandLine::NO_PROGRAM));
field_trial_list_.reset(new base::FieldTrialList(nullptr));
+ // We don't use the descriptor here anyways so it's ok to pass 1.
Alexei Svitkine (slow) 2016/11/29 19:32:47 -1
lawrencewu 2016/11/29 19:52:44 Fixed.
base::FieldTrialList::CreateTrialsFromCommandLine(
- *command_line_, switches::kFieldTrialHandle);
+ *command_line_, switches::kFieldTrialHandle, -1);
params_.reset(new MainFunctionParams(*command_line_));
platform_.reset(new RendererMainPlatformDelegate(*params_));
platform_->PlatformInitialize();
« content/app/content_main_runner.cc ('K') | « content/public/common/content_descriptors.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698