| Index: base/test/multiprocess_test.cc
|
| diff --git a/base/test/multiprocess_test.cc b/base/test/multiprocess_test.cc
|
| index b95ea9823e37500ea5a033ae066df7332aaeacf2..2cd6d8ca0331ffac1c80c3faab3d40f85d58a574 100644
|
| --- a/base/test/multiprocess_test.cc
|
| +++ b/base/test/multiprocess_test.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #include "base/base_switches.h"
|
| #include "base/command_line.h"
|
| +#include "base/files/file_path.h"
|
| +#include "base/files/file_util.h"
|
|
|
| namespace base {
|
|
|
| @@ -26,7 +28,9 @@ Process SpawnMultiProcessTestChild(
|
| #endif // !defined(OS_ANDROID)
|
|
|
| CommandLine GetMultiProcessTestChildBaseCommandLine() {
|
| - return *CommandLine::ForCurrentProcess();
|
| + CommandLine cmd_line = *CommandLine::ForCurrentProcess();
|
| + cmd_line.SetProgram(MakeAbsoluteFilePath(cmd_line.GetProgram()));
|
| + return cmd_line;
|
| }
|
|
|
| // MultiProcessTest ------------------------------------------------------------
|
|
|