| 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 0e41bc307f8ddf6a5ce0fb8e9214082a237d9b48..3334cb536327295ed83f6d6f2a6c42956bf66e8e 100644
|
| --- a/chrome/test/base/mojo_test_connector.cc
|
| +++ b/chrome/test/base/mojo_test_connector.cc
|
| @@ -214,8 +214,11 @@ class MojoTestConnector::NativeRunnerDelegateImpl
|
| const service_manager::Identity& target,
|
| base::CommandLine* command_line) override {
|
| if (target.name() != kTestName) {
|
| - if (target.name() == kTestRunnerName)
|
| + if (target.name() == kTestRunnerName) {
|
| RemoveMashFromBrowserTests(command_line);
|
| + command_line->SetProgram(
|
| + base::CommandLine::ForCurrentProcess()->GetProgram());
|
| + }
|
| command_line->AppendSwitch(MojoTestConnector::kMashApp);
|
| return;
|
| }
|
|
|