| Index: net/test/spawned_test_server/local_test_server_win.cc
|
| diff --git a/net/test/spawned_test_server/local_test_server_win.cc b/net/test/spawned_test_server/local_test_server_win.cc
|
| index fd26483ed477b37698538f1f2b609e7d79b343f2..a2c2f7b5233bc4993d5111c16ee228ca0f112490 100644
|
| --- a/net/test/spawned_test_server/local_test_server_win.cc
|
| +++ b/net/test/spawned_test_server/local_test_server_win.cc
|
| @@ -129,8 +129,9 @@ bool LocalTestServer::LaunchPython(const base::FilePath& testserver_path) {
|
| return false;
|
| }
|
|
|
| - if (!base::SetJobObjectAsKillOnJobClose(job_handle_.Get())) {
|
| - LOG(ERROR) << "Could not SetInformationJobObject.";
|
| + if (!base::SetJobObjectLimitFlags(job_handle_.Get(),
|
| + JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE)) {
|
| + LOG(ERROR) << "Could not SetJobObjectLimitFlags.";
|
| return false;
|
| }
|
|
|
|
|