diff --git a/shell/common/shell.cc b/shell/common/shell.cc index f32356a4e479c6a4db0c9b03be133a52ca327cb2..14f8fee84bb5f75bd8518229dd0b726b7e0b7976 100644 --- a/shell/common/shell.cc +++ b/shell/common/shell.cc @@ -121,7 +121,7 @@ void Shell::InitStandalone(fxl::CommandLine command_line, command_line.HasOption(FlagForSwitch(Switch::EnableSoftwareRendering)); settings.using_blink = - !command_line.HasOption(FlagForSwitch(Switch::EnableTxt)); + command_line.HasOption(FlagForSwitch(Switch::EnableBlink)); settings.endless_trace_buffer = command_line.HasOption(FlagForSwitch(Switch::EndlessTraceBuffer)); diff --git a/shell/common/switches.h b/shell/common/switches.h index 8ee6a93dc3351e160d6a959d6de332b0df6b1a4e..91778a78e92cc6b0b8e627d721f582b6b2bd247a 100644 --- a/shell/common/switches.h +++ b/shell/common/switches.h @@ -63,9 +63,9 @@ DEF_SWITCH(SkiaDeterministicRendering, "Skips the call to SkGraphics::Init(), thus avoiding swapping out" "some Skia function pointers based on available CPU features. This" "is used to obtain 100% deterministic behavior in Skia rendering.") -DEF_SWITCH(EnableTxt, - "enable-txt", - "Enable libtxt as the text shaping library instead of Blink.") +DEF_SWITCH(EnableBlink, + "enable-blink", + "Enable Blink as the text shaping library instead of libtxt.") DEF_SWITCH(FLX, "flx", "Specify the FLX path.") DEF_SWITCH(FlutterAssetsDir, "flutter-assets-dir",