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

Unified Diff: components/variations/child_process_field_trial_syncer_unittest.cc

Issue 2530573002: Share field trial allocator on zygote-using Linuxes (Closed)
Patch Set: git rebase-update 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: components/variations/child_process_field_trial_syncer_unittest.cc
diff --git a/components/variations/child_process_field_trial_syncer_unittest.cc b/components/variations/child_process_field_trial_syncer_unittest.cc
index 3e63c2f7eaed2be3762a6ecce56af092865ffc55..9db81082f165d213e849e0b1bc72db5cf82c9afb 100644
--- a/components/variations/child_process_field_trial_syncer_unittest.cc
+++ b/components/variations/child_process_field_trial_syncer_unittest.cc
@@ -55,7 +55,7 @@ TEST(ChildProcessFieldTrialSyncerTest, FieldTrialState) {
base::MessageLoop message_loop;
base::FieldTrialList field_trial_list(nullptr);
base::FieldTrialList::CreateTrialsFromCommandLine(
- *base::CommandLine::ForCurrentProcess(), "field_trial_handle_switch");
+ *base::CommandLine::ForCurrentProcess(), "field_trial_handle_switch", -1);
Alexei Svitkine (slow) 2016/11/28 16:56:13 You don't document anywhere why it's OK to pass a
lawrencewu 2016/11/29 14:38:07 Changed things around so we don't need to pass in
base::FieldTrial* trial1 = base::FieldTrialList::CreateFieldTrial("A", "G1");
base::FieldTrial* trial2 = base::FieldTrialList::CreateFieldTrial("B", "G2");

Powered by Google App Engine
This is Rietveld 408576698