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

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: update switch comment 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
« no previous file with comments | « ui/gfx/switches.h ('k') | ui/gfx/win/direct_write.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/switches.cc
diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc
index f36a1d5ac181e18e3f9f9f5d91ee22ae54391dba..01733ddfebcd283038ce904e7c56741d027f4593 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,10 @@ 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 (it's already used only for
+// text editing; this enables it for everything else).
+const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
+#endif
+
} // namespace switches
« no previous file with comments | « ui/gfx/switches.h ('k') | ui/gfx/win/direct_write.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698