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

Unified Diff: content/utility/utility_main.cc

Issue 1928863002: Enable FeatureList for the GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Zygote process! Created 4 years, 8 months 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
« content/renderer/renderer_main.cc ('K') | « content/renderer/renderer_main.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_main.cc
diff --git a/content/utility/utility_main.cc b/content/utility/utility_main.cc
index 81b1c40be2360f9c51651da8ea0908824e791106..f74958cf24e54e5aadf4b05f0ba5633f3060df29 100644
--- a/content/utility/utility_main.cc
+++ b/content/utility/utility_main.cc
@@ -4,7 +4,6 @@
#include "base/command_line.h"
#include "base/debug/leak_annotations.h"
-#include "base/feature_list.h"
#include "base/message_loop/message_loop.h"
#include "base/threading/platform_thread.h"
#include "base/timer/hi_res_timer_manager.h"
@@ -37,12 +36,6 @@ int UtilityMain(const MainFunctionParams& parameters) {
LinuxSandbox::InitializeSandbox();
#endif
- std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList);
- feature_list->InitializeFromCommandLine(
- parameters.command_line.GetSwitchValueASCII(switches::kEnableFeatures),
- parameters.command_line.GetSwitchValueASCII(switches::kDisableFeatures));
- base::FeatureList::SetInstance(std::move(feature_list));
-
ChildProcess utility_process;
utility_process.set_main_thread(new UtilityThreadImpl());
« content/renderer/renderer_main.cc ('K') | « content/renderer/renderer_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698