summaryrefslogtreecommitdiffstats
path: root/base/test/multiprocess_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/test/multiprocess_test.cc')
-rw-r--r--base/test/multiprocess_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/test/multiprocess_test.cc b/base/test/multiprocess_test.cc
index c691b5f..97f335c 100644
--- a/base/test/multiprocess_test.cc
+++ b/base/test/multiprocess_test.cc
@@ -47,13 +47,12 @@ ProcessHandle MultiProcessTest::SpawnChildImpl(
bool debug_on_start) {
ProcessHandle handle = kNullProcessHandle;
base::LaunchOptions options;
- options.process_handle = &handle;
#if defined(OS_WIN)
options.start_hidden = true;
#else
options.fds_to_remap = &fds_to_map;
#endif
- base::LaunchProcess(MakeCmdLine(procname, debug_on_start), options);
+ base::LaunchProcess(MakeCmdLine(procname, debug_on_start), options, &handle);
return handle;
}