| Index: chrome/test/ui/ui_test_suite.cc
|
| diff --git a/chrome/test/ui/ui_test_suite.cc b/chrome/test/ui/ui_test_suite.cc
|
| index 5a5e07fecece7fc20abd1ae04fddb0c620c34e30..d9abae49c26445b38d94ae7f5584ea3cf0ecab40 100644
|
| --- a/chrome/test/ui/ui_test_suite.cc
|
| +++ b/chrome/test/ui/ui_test_suite.cc
|
| @@ -52,11 +52,7 @@ void UITestSuite::LoadCrashService() {
|
| return;
|
| }
|
|
|
| - JOBOBJECT_EXTENDED_LIMIT_INFORMATION limit_info = {0};
|
| - limit_info.BasicLimitInformation.LimitFlags =
|
| - JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
|
| - if (0 == SetInformationJobObject(job_handle_.Get(),
|
| - JobObjectExtendedLimitInformation, &limit_info, sizeof(limit_info))) {
|
| + if (!base::SetJobObjectAsKillOnJobClose(job_handle_.Get())) {
|
| LOG(ERROR) << "Could not SetInformationJobObject.";
|
| return;
|
| }
|
|
|