| Index: chrome/test/base/mojo_test_connector.cc
|
| diff --git a/chrome/test/base/mojo_test_connector.cc b/chrome/test/base/mojo_test_connector.cc
|
| index 32f6b8c07811a010fd023edaa4845c1251cf9c2c..304924f17ee89eb41349b851a7f2602056a0b726 100644
|
| --- a/chrome/test/base/mojo_test_connector.cc
|
| +++ b/chrome/test/base/mojo_test_connector.cc
|
| @@ -215,6 +215,14 @@ class MojoTestConnector::NativeRunnerDelegateImpl
|
| if (target.name() == "exe:mash_browser_tests")
|
| RemoveMashFromBrowserTests(command_line);
|
| command_line->AppendSwitch(MojoTestConnector::kMashApp);
|
| + if (target.instance() == "font_service" || target.instance() == "ui") {
|
| + base::CommandLine::StringVector argv(command_line->argv());
|
| + auto iter = std::find(argv.begin(), argv.end(),
|
| + FILE_PATH_LITERAL("--enable-sandbox"));
|
| + if (iter != argv.end())
|
| + argv.erase(iter);
|
| + *command_line = base::CommandLine(argv);
|
| + }
|
| return;
|
| }
|
|
|
|
|