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