Chromium Code Reviews| Index: content/app/content_main_runner.cc |
| diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
| index a17d020a3c26cbb2657f36326712a58236312063..117f1a64c57de43f2bd7c9365366b7c49c0553db 100644 |
| --- a/content/app/content_main_runner.cc |
| +++ b/content/app/content_main_runner.cc |
| @@ -32,6 +32,7 @@ |
| #include "base/path_service.h" |
| #include "base/process/launch.h" |
| #include "base/process/memory.h" |
| +#include "base/process/process.h" |
|
Alexei Svitkine (slow)
2016/10/06 21:39:28
Is this include needed?
lawrencewu
2016/10/07 15:07:21
Nope. Removed.
|
| #include "base/process/process_handle.h" |
| #include "base/profiler/scoped_tracker.h" |
| #include "base/strings/string_number_conversions.h" |
| @@ -145,12 +146,8 @@ void InitializeFieldTrialAndFeatureList( |
| // Ensure any field trials in browser are reflected into the child |
| // process. |
| - if (command_line.HasSwitch(switches::kForceFieldTrials)) { |
| - bool result = base::FieldTrialList::CreateTrialsFromString( |
| - command_line.GetSwitchValueASCII(switches::kForceFieldTrials), |
| - std::set<std::string>()); |
| - DCHECK(result); |
| - } |
| + base::FieldTrialList::CreateTrialsFromCommandLine( |
| + command_line, switches::kFieldTrialHandle); |
| std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList); |
| feature_list->InitializeFromCommandLine( |