| 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
|
|
|