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

Unified Diff: content/ppapi_plugin/ppapi_plugin_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
Index: content/ppapi_plugin/ppapi_plugin_main.cc
diff --git a/content/ppapi_plugin/ppapi_plugin_main.cc b/content/ppapi_plugin/ppapi_plugin_main.cc
index 76844a1a774381915c8b57f219f18d1e8e907893..912814027c50c639624e9579bb84725b67cda2da 100644
--- a/content/ppapi_plugin/ppapi_plugin_main.cc
+++ b/content/ppapi_plugin/ppapi_plugin_main.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/debug/crash_logging.h"
#include "base/debug/debugger.h"
-#include "base/feature_list.h"
#include "base/files/file_path.h"
#include "base/i18n/rtl.h"
#include "base/message_loop/message_loop.h"
@@ -135,12 +134,6 @@ int PpapiPluginMain(const MainFunctionParams& parameters) {
LinuxSandbox::InitializeSandbox();
#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::FeatureList::SetInstance(std::move(feature_list));
-
ChildProcess ppapi_process;
ppapi_process.set_main_thread(
new PpapiThread(parameters.command_line, false)); // Not a broker.

Powered by Google App Engine
This is Rietveld 408576698