diff options
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/child_process_launcher.cc | 2 | ||||
-rw-r--r-- | content/zygote/zygote_linux.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc index 0870e6c..636fd88 100644 --- a/content/browser/child_process_launcher.cc +++ b/content/browser/child_process_launcher.cc @@ -531,7 +531,7 @@ void ChildProcessLauncher::Context::TerminateInternal( ZygoteHostImpl::GetInstance()->EnsureProcessTerminated(process.Handle()); } else #endif // !OS_MACOSX - base::EnsureProcessTerminated(process.Handle()); + base::EnsureProcessTerminated(process.Pass()); #endif // OS_POSIX #endif // defined(OS_ANDROID) } diff --git a/content/zygote/zygote_linux.cc b/content/zygote/zygote_linux.cc index f0b9161..bd64221 100644 --- a/content/zygote/zygote_linux.cc +++ b/content/zygote/zygote_linux.cc @@ -248,7 +248,7 @@ void Zygote::HandleReapRequest(int fd, // with this for now. #if !defined(THREAD_SANITIZER) // TODO(jln): this old code is completely broken. See crbug.com/274855. - base::EnsureProcessTerminated(child_info.internal_pid); + base::EnsureProcessTerminated(base::Process(child_info.internal_pid)); #else LOG(WARNING) << "Zygote process omitting a call to " << "base::EnsureProcessTerminated() for child pid " << child |