| Index: components/variations/variations_seed_processor.cc
|
| diff --git a/components/variations/variations_seed_processor.cc b/components/variations/variations_seed_processor.cc
|
| index 32f93fc8cecdd4257040dd925101e6dae99e08da..e60db0df6eada099811a01e49c7ab33174c205af 100644
|
| --- a/components/variations/variations_seed_processor.cc
|
| +++ b/components/variations/variations_seed_processor.cc
|
| @@ -111,6 +111,13 @@ void VariationsSeedProcessor::CreateTrialFromStudy(
|
| scoped_refptr<base::FieldTrial> trial(
|
| base::FieldTrialList::CreateFieldTrial(study.name(),
|
| experiment.name()));
|
| + // If |trial| is NULL, then there might already be a trial forced to a
|
| + // different group (e.g. via --force-fieldtrials). Break out of the loop,
|
| + // but don't return, so that variation ids and params for the selected
|
| + // group will still be picked up.
|
| + if (!trial)
|
| + break;
|
| +
|
| RegisterExperimentParams(study, experiment);
|
| RegisterVariationIds(experiment, study.name());
|
| if (study.activation_type() == Study_ActivationType_ACTIVATION_AUTO) {
|
|
|