Index: base/process/kill_mac.cc |
diff --git a/base/process/kill_mac.cc b/base/process/kill_mac.cc |
index 9257ee6929a448f57d15948239280c8453875bd6..a2632f668344199dbc59fd366327a06492a4ee13 100644 |
--- a/base/process/kill_mac.cc |
+++ b/base/process/kill_mac.cc |
@@ -165,8 +165,8 @@ void WaitForChildToDie(pid_t child, int timeout) { |
} // namespace |
-void EnsureProcessTerminated(ProcessHandle process) { |
- WaitForChildToDie(process, kWaitBeforeKillSeconds); |
+void EnsureProcessTerminated(Process process) { |
+ WaitForChildToDie(process.pid(), kWaitBeforeKillSeconds); |
} |
} // namespace base |