| Index: base/process/kill_posix.cc
|
| diff --git a/base/process/kill_posix.cc b/base/process/kill_posix.cc
|
| index f68dfb892b71316a6775dbc136e336e9815e0175..bff7be46b75349d74c7df290971c45a131e5c1bd 100644
|
| --- a/base/process/kill_posix.cc
|
| +++ b/base/process/kill_posix.cc
|
| @@ -359,7 +359,7 @@ static bool WaitForSingleNonChildProcess(ProcessHandle handle,
|
|
|
| bool WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) {
|
| ProcessHandle parent_pid = GetParentProcessId(handle);
|
| - ProcessHandle our_pid = Process::Current().handle();
|
| + ProcessHandle our_pid = GetCurrentProcessHandle();
|
| if (parent_pid != our_pid) {
|
| #if defined(OS_MACOSX)
|
| // On Mac we can wait on non child processes.
|
|
|