| Index: base/process/process_win.cc
|
| diff --git a/base/process/process_win.cc b/base/process/process_win.cc
|
| index fe4f9ec739eea656f1c1565a1e773988d0240c02..32da8abe8ec9d7091c15ac36ee34bee5a4ed181e 100644
|
| --- a/base/process/process_win.cc
|
| +++ b/base/process/process_win.cc
|
| @@ -123,8 +123,10 @@ void Process::Close() {
|
| process_.Close();
|
| }
|
|
|
| -void Process::Terminate(int result_code) {
|
| - ::TerminateProcess(Handle(), result_code);
|
| +bool Process::Terminate(int result_code, bool wait) const {
|
| + DCHECK(IsValid());
|
| + // TODO(rvargas) crbug/417532: Move the implementation here.
|
| + return KillProcess(Handle(), result_code, wait);
|
| }
|
|
|
| bool Process::WaitForExit(int* exit_code) {
|
|
|