Index: ui/gfx/render_text.cc |
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc |
index 22a8f31ad091820d87d3549a1e1d8a9435da35a3..24b6a418d6e3da44386f871eeaac85ff96c521f9 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(); |