Index: base/process/kill_posix.cc |
diff --git a/base/process/kill_posix.cc b/base/process/kill_posix.cc |
index d4ca72696bf0f664cd33d04ea2f6cf3437d6ec3d..bc9d1b3795305e602fd93fc6fb0840a2cf8549c8 100644 |
--- a/base/process/kill_posix.cc |
+++ b/base/process/kill_posix.cc |
@@ -354,7 +354,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. |