Chromium Code Reviews| Index: content/renderer/renderer_main.cc |
| diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc |
| index e989b2722df81f3210589820680a54c6c058282c..6abfa066e71929fc722160b2b590d61746c55a8f 100644 |
| --- a/content/renderer/renderer_main.cc |
| +++ b/content/renderer/renderer_main.cc |
| @@ -9,7 +9,6 @@ |
| #include "base/command_line.h" |
| #include "base/debug/debugger.h" |
| #include "base/debug/leak_annotations.h" |
| -#include "base/feature_list.h" |
| #include "base/i18n/rtl.h" |
| #include "base/message_loop/message_loop.h" |
| #include "base/metrics/field_trial.h" |
| @@ -155,24 +154,6 @@ int RendererMain(const MainFunctionParams& parameters) { |
| base::android::RecordChromiumAndroidLinkerRendererHistogram(); |
| #endif |
| - // Initialize statistical testing infrastructure. We set the entropy provider |
| - // to NULL to disallow the renderer process from creating its own one-time |
| - // randomized trials; they should be created in the browser process. |
| - base::FieldTrialList field_trial_list(NULL); |
| - // Ensure any field trials in browser are reflected into renderer. |
| - if (parsed_command_line.HasSwitch(switches::kForceFieldTrials)) { |
| - bool result = base::FieldTrialList::CreateTrialsFromString( |
| - parsed_command_line.GetSwitchValueASCII(switches::kForceFieldTrials), |
| - std::set<std::string>()); |
| - DCHECK(result); |
| - } |
| - |
| - std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList); |
| - feature_list->InitializeFromCommandLine( |
| - parsed_command_line.GetSwitchValueASCII(switches::kEnableFeatures), |
| - parsed_command_line.GetSwitchValueASCII(switches::kDisableFeatures)); |
| - base::FeatureList::SetInstance(std::move(feature_list)); |
|
Alexei Svitkine (slow)
2016/05/03 18:59:47
What happened to remove this? I don't see it in th
erikchen
2016/05/03 19:22:31
Moving this logic to contain_main_runner causes pr
|
| - |
| std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler( |
| scheduler::RendererScheduler::Create()); |