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 |