| Index: content/browser/browser_main_runner.cc
|
| diff --git a/content/browser/browser_main_runner.cc b/content/browser/browser_main_runner.cc
|
| index 39a8706b7a40886c80be25458b4949ac5619bfa2..67263fe61128b75033f48c62c99e085e530c2145 100644
|
| --- a/content/browser/browser_main_runner.cc
|
| +++ b/content/browser/browser_main_runner.cc
|
| @@ -119,8 +119,8 @@ void InstallSha256LegacyHooks() {
|
|
|
| void MaybeEnableDirectWriteFontRendering() {
|
| if (gfx::win::ShouldUseDirectWrite() &&
|
| - CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableDirectWriteForUI) &&
|
| + !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableDirectWriteForUI) &&
|
| !CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableHarfBuzzRenderText)) {
|
| typedef decltype(DWriteCreateFactory)* DWriteCreateFactoryProc;
|
|
|