Index: content/public/common/content_switches.cc |
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc |
index 9a41cc6992d4ed65d78bb06cf697457d120b8feb..c704bbe423900716032983dd7857c5bd8bb31fd6 100644 |
--- a/content/public/common/content_switches.cc |
+++ b/content/public/common/content_switches.cc |
@@ -4,9 +4,6 @@ |
#include "content/public/common/content_switches.h" |
-#include "base/command_line.h" |
-#include "base/metrics/field_trial.h" |
- |
namespace switches { |
// The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
@@ -958,20 +955,6 @@ const char kEnableNpapi[] = "enable-npapi"; |
const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
#endif |
-#if defined(OS_WIN) |
-bool IsWin32kRendererLockdownEnabled() { |
- const std::string group_name = |
- base::FieldTrialList::FindFullName("Win32kLockdown"); |
- const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess(); |
- if (cmd_line->HasSwitch(kEnableWin32kRendererLockDown)) |
- return true; |
- if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
- return false; |
- // Default. |
- return group_name == "Enabled"; |
-} |
-#endif |
- |
// Don't dump stuff here, follow the same order as the header. |
} // namespace switches |