| Index: mojo/shell/desktop/mojo_main.cc
|
| diff --git a/mojo/shell/desktop/mojo_main.cc b/mojo/shell/desktop/mojo_main.cc
|
| index 3dac7c78abce1c662de280e647278b700347101c..156a2b838f269bedcaa200c231959fc18f9bb743 100644
|
| --- a/mojo/shell/desktop/mojo_main.cc
|
| +++ b/mojo/shell/desktop/mojo_main.cc
|
| @@ -11,7 +11,6 @@
|
| #include "mojo/shell/context.h"
|
| #include "mojo/shell/init.h"
|
| #include "mojo/shell/switches.h"
|
| -#include "ui/gfx/switches.h"
|
|
|
| #if defined(COMPONENT_BUILD)
|
| #include "ui/gl/gl_surface.h"
|
| @@ -19,6 +18,9 @@
|
|
|
| namespace {
|
|
|
| +// Copied from ui/gfx/switches.cc to avoid a dependency on //ui/gfx
|
| +const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
|
| +
|
| void RunApps(mojo::shell::Context* context) {
|
| const base::CommandLine& command_line =
|
| *base::CommandLine::ForCurrentProcess();
|
| @@ -40,7 +42,7 @@ int main(int argc, char** argv) {
|
| // backend (currently the default on linux) is not close to threadsafe. Force
|
| // use of the harfbuzz backend for now.
|
| base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - switches::kEnableHarfBuzzRenderText);
|
| + kEnableHarfBuzzRenderText);
|
| #endif
|
| mojo::shell::InitializeLogging();
|
|
|
|
|