| Index: chrome/test/chromedriver/chrome_launcher.cc
|
| diff --git a/chrome/test/chromedriver/chrome_launcher.cc b/chrome/test/chromedriver/chrome_launcher.cc
|
| index 03a5e1f6593010b06c143a4dc736727c7f71f6a9..ce2643fa7ccd79a07f3e8cea7c53319db824abaf 100644
|
| --- a/chrome/test/chromedriver/chrome_launcher.cc
|
| +++ b/chrome/test/chromedriver/chrome_launcher.cc
|
| @@ -20,6 +20,7 @@
|
| #include "base/logging.h"
|
| #include "base/process/kill.h"
|
| #include "base/process/launch.h"
|
| +#include "base/process/process.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| @@ -387,7 +388,7 @@ Status LaunchDesktopChrome(
|
| return Status(kUnknownError,
|
| "Chrome failed to start: " + termination_reason);
|
| }
|
| - if (!base::KillProcess(process.Handle(), 0, true)) {
|
| + if (!process.Terminate(0, true)) {
|
| int exit_code;
|
| if (base::GetTerminationStatus(process.Handle(), &exit_code) ==
|
| base::TERMINATION_STATUS_STILL_RUNNING)
|
|
|