Index: base/process/kill_posix.cc |
diff --git a/base/process/kill_posix.cc b/base/process/kill_posix.cc |
index d17e9907626125849ee97495e4b4cb24a00e257c..3f304ca509b4158bdfa726afeb51871e34c273f9 100644 |
--- a/base/process/kill_posix.cc |
+++ b/base/process/kill_posix.cc |
@@ -463,13 +463,13 @@ class BackgroundReaper : public PlatformThread::Delegate { |
} // namespace |
-void EnsureProcessTerminated(ProcessHandle process) { |
+void EnsureProcessTerminated(Process process) { |
// If the child is already dead, then there's nothing to do. |
- if (IsChildDead(process)) |
+ if (IsChildDead(process.pid())) |
return; |
const unsigned timeout = 2; // seconds |
- BackgroundReaper* reaper = new BackgroundReaper(process, timeout); |
+ BackgroundReaper* reaper = new BackgroundReaper(process.pid(), timeout); |
PlatformThread::CreateNonJoinable(0, reaper); |
} |