Index: chrome/browser/chrome_browser_main_win.cc |
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc |
index f3066d1d2c26ed8a1f5d1a64fc68231db455253f..ba6b8677e46a5ea6f210fd849b4fe986d9a3ba11 100644 |
--- a/chrome/browser/chrome_browser_main_win.cc |
+++ b/chrome/browser/chrome_browser_main_win.cc |
@@ -237,8 +237,7 @@ int ChromeBrowserMainPartsWin::PreCreateThreads() { |
// launched for the plugin does not have the Win32K lockdown mode enabled. |
// TODO(ananta) |
// Revisit this when the pdf plugin uses skia and stops using GDI. |
- if (switches::IsWin32kRendererLockdownEnabled() && |
- base::win::GetVersion() >= base::win::VERSION_WIN8) { |
+ if (switches::IsWin32kRendererLockdownEnabled(false)) { |
base::CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableOutOfProcessPdf); |
} |
@@ -275,7 +274,7 @@ void ChromeBrowserMainPartsWin::PostBrowserStart() { |
UMA_HISTOGRAM_BOOLEAN("Windows.Tablet", base::win::IsTabletDevice()); |
UMA_HISTOGRAM_BOOLEAN("Windows.Win32kRendererLockdown", |
- switches::IsWin32kRendererLockdownEnabled()); |
+ switches::IsWin32kRendererLockdownEnabled(false)); |
// Set up a task to verify installed modules in the current process. Use a |
// delay to reduce the impact on startup time. |