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

Unified Diff: content/common/content_switches_internal.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « content/common/content_switches_internal.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_switches_internal.cc
diff --git a/content/common/content_switches_internal.cc b/content/common/content_switches_internal.cc
index 9200e7fad278c617600cddd0f2c9625559ebef9a..58ec4305eb6d2229d0106b74699cd4e111ac2341 100644
--- a/content/common/content_switches_internal.cc
+++ b/content/common/content_switches_internal.cc
@@ -20,10 +20,6 @@ namespace content {
namespace {
-#if defined(OS_WIN)
-static bool g_win32k_renderer_lockdown_disabled = false;
-#endif
-
bool IsUseZoomForDSFEnabledByDefault() {
#if defined(OS_CHROMEOS)
return true;
@@ -44,13 +40,7 @@ bool IsPinchToZoomEnabled() {
#if defined(OS_WIN)
-void DisableWin32kRendererLockdown() {
- g_win32k_renderer_lockdown_disabled = true;
-}
-
bool IsWin32kRendererLockdownEnabled() {
- if (g_win32k_renderer_lockdown_disabled)
- return false;
if (base::win::GetVersion() < base::win::VERSION_WIN8)
return false;
if (!gfx::win::ShouldUseDirectWrite())
« no previous file with comments | « content/common/content_switches_internal.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698