summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
Diffstat (limited to 'content/public')
-rw-r--r--content/public/common/content_switches.cc5
-rw-r--r--content/public/common/content_switches.h3
-rw-r--r--content/public/common/dwrite_font_cache_win.h19
3 files changed, 0 insertions, 27 deletions
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 500d98e..03c7578 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -970,11 +970,6 @@ const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window";
// the kernel. This is only supported on Windows 8 and beyond.
const char kEnableWin32kRendererLockDown[]
= "enable_win32k_renderer_lockdown";
-
-// DirectWrite FontCache is shared by browser to renderers using shared memory.
-// This switch allows specifying suffix to shared memory section name to avoid
-// clashes between different instances of Chrome.
-const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix";
#endif
#if defined(ENABLE_PLUGINS)
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h
index b4b4bb5..360aded 100644
--- a/content/public/common/content_switches.h
+++ b/content/public/common/content_switches.h
@@ -290,9 +290,6 @@ CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
// This switch will be removed when we enable the win32K lockdown process
// mitigation.
CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[];
-// Switch to uniquely identify names shared memory section for font cache
-// across chromium flavors.
-CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[];
#endif
#if defined(ENABLE_PLUGINS)
diff --git a/content/public/common/dwrite_font_cache_win.h b/content/public/common/dwrite_font_cache_win.h
deleted file mode 100644
index 73b1bb8..0000000
--- a/content/public/common/dwrite_font_cache_win.h
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_COMMON_DWRITE_FONT_CACHE_WIN_H_
-#define CONTENT_PUBLIC_COMMON_DWRITE_FONT_CACHE_WIN_H_
-
-#include "base/files/file.h"
-#include "content/common/content_export.h"
-
-namespace content {
-
-CONTENT_EXPORT extern const char kFontCacheSharedSectionName[];
-
-CONTENT_EXPORT bool InitializeFontCache(const base::FilePath& path);
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_COMMON_DWRITE_FONT_CACHE_WIN_H_