Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index e7144f8e3d75838afa6ae34cf406a1e908930e17..807f8cd12ebe8d5b2579c25df00b65947789bc13 100644 |
--- a/ui/gfx/render_text.cc |
+++ b/ui/gfx/render_text.cc |
@@ -426,8 +426,8 @@ RenderText* RenderText::CreateInstance() { |
// Use the more complete HarfBuzz implementation for Views controls on Mac. |
return new RenderTextHarfBuzz; |
#else |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableHarfBuzzRenderText)) { |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableHarfBuzzRenderText)) { |
return new RenderTextHarfBuzz; |
} |
return CreateNativeInstance(); |