| Index: chrome/installer/gcapi/gcapi_omaha_experiment.cc
|
| diff --git a/chrome/installer/gcapi/gcapi_omaha_experiment.cc b/chrome/installer/gcapi/gcapi_omaha_experiment.cc
|
| index a790a264c1c89f5de61562c3fe75dc1bea1b6021..1724b971d4a4d9804368a4ac2b68836127f8078f 100644
|
| --- a/chrome/installer/gcapi/gcapi_omaha_experiment.cc
|
| +++ b/chrome/installer/gcapi/gcapi_omaha_experiment.cc
|
| @@ -42,9 +42,10 @@ bool SetExperimentLabel(const wchar_t* brand_code,
|
| }
|
|
|
| // Split the original labels by the label separator.
|
| - std::vector<base::string16> entries;
|
| - base::SplitString(original_labels, google_update::kExperimentLabelSeparator,
|
| - &entries);
|
| + std::vector<base::string16> entries = base::SplitString(
|
| + original_labels,
|
| + base::string16(1, google_update::kExperimentLabelSeparator),
|
| + base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
|
|
| // Keep all labels, but the one we want to add/replace.
|
| base::string16 label_and_separator(label);
|
|
|