| Index: base/process_util_posix.cc
|
| diff --git a/base/process_util_posix.cc b/base/process_util_posix.cc
|
| index 0e116de82671a48bab94f6fa0affcaf8bc9daeff..0fc8c0e1537b7b1797c887d89a891b3698530f94 100644
|
| --- a/base/process_util_posix.cc
|
| +++ b/base/process_util_posix.cc
|
| @@ -528,7 +528,8 @@ char** AlterEnvironment(const environment_vector& changes,
|
| }
|
|
|
| bool LaunchProcess(const std::vector<std::string>& argv,
|
| - const LaunchOptions& options) {
|
| + const LaunchOptions& options,
|
| + ProcessHandle* process_handle) {
|
| pid_t pid;
|
| InjectiveMultimap fd_shuffle1, fd_shuffle2;
|
| if (options.fds_to_remap) {
|
| @@ -631,16 +632,17 @@ bool LaunchProcess(const std::vector<std::string>& argv,
|
| DPCHECK(ret > 0);
|
| }
|
|
|
| - if (options.process_handle)
|
| - *options.process_handle = pid;
|
| + if (process_handle)
|
| + *process_handle = pid;
|
| }
|
|
|
| return true;
|
| }
|
|
|
| bool LaunchProcess(const CommandLine& cmdline,
|
| - const LaunchOptions& options) {
|
| - return LaunchProcess(cmdline.argv(), options);
|
| + const LaunchOptions& options,
|
| + ProcessHandle* process_handle) {
|
| + return LaunchProcess(cmdline.argv(), options, process_handle);
|
| }
|
|
|
| ProcessMetrics::~ProcessMetrics() { }
|
|
|