Registering field trial for a feature overridden in chrome://flags.
Variation parameters can be overridden via chrome://flags. Internally, a
fresh trial group is created with the specified parameters. Previously,
the trial was not registered for the associated feature.
This CL registers the trial for the given feature.
BUG=625993
Review-Url: https://codereview.chromium.org/2129543002
Cr-Commit-Position: refs/heads/master@{#405496}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 499a307c..11c193f 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2039,9 +2039,10 @@
}
void RegisterAllFeatureVariationParameters(
- flags_ui::FlagsStorage* flags_storage) {
+ flags_ui::FlagsStorage* flags_storage,
+ base::FeatureList* feature_list) {
FlagsStateSingleton::GetFlagsState()->RegisterAllFeatureVariationParameters(
- flags_storage);
+ flags_storage, feature_list);
}
bool AreSwitchesIdenticalToCurrentCommandLine(