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

Unified Diff: ui/gfx/switches.cc

Issue 891013003: Delete RenderTextWin and RenderTextPango. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn update Created 5 years, 11 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: ui/gfx/switches.cc
diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc
index f36a1d5ac181e18e3f9f9f5d91ee22ae54391dba..9c9d6f9f97026928040bcc9f534ea1724f75a092 100644
--- a/ui/gfx/switches.cc
+++ b/ui/gfx/switches.cc
@@ -6,12 +6,6 @@
namespace switches {
-// Disables the HarfBuzz port of RenderText on all platforms.
-const char kDisableHarfBuzzRenderText[] = "disable-harfbuzz-rendertext";
-
-// Enables the HarfBuzz port of RenderText on all platforms.
-const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
-
// Enable text glyphs to have X-positions that aren't snapped to the pixel grid
// in webkit renderers.
const char kEnableWebkitTextSubpixelPositioning[] =
@@ -28,4 +22,9 @@ const char kDisableDirectWrite[] = "disable-direct-write";
const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
#endif
+#if defined(OS_MACOSX)
+// Enables the HarfBuzz port of RenderText on Mac.
msw 2015/02/02 22:52:55 nit: Maybe mention that RenderTextHarfBuzz is alre
Daniel Erat 2015/02/02 23:10:31 Done.
+const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
+#endif
+
} // namespace switches

Powered by Google App Engine
This is Rietveld 408576698