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

Unified Diff: content/app/content_main_runner.cc

Issue 2546653002: Store and retrieve features from shared memory (Closed)
Patch Set: add comment Created 4 years 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
« no previous file with comments | « base/metrics/field_trial_unittest.cc ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index e1504f738c46a9e8343d544a847d323df4d6d6e9..929756b451ea3291c76c049a55c183421d64f02a 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -155,9 +155,9 @@ void InitializeFieldTrialAndFeatureList(
#endif
std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
- feature_list->InitializeFromCommandLine(
- command_line.GetSwitchValueASCII(switches::kEnableFeatures),
- command_line.GetSwitchValueASCII(switches::kDisableFeatures));
+ base::FieldTrialList::CreateFeaturesFromCommandLine(
+ command_line, switches::kEnableFeatures, switches::kDisableFeatures,
+ feature_list.get());
base::FeatureList::SetInstance(std::move(feature_list));
}
« no previous file with comments | « base/metrics/field_trial_unittest.cc ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698