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 690a368ac0927771eaa05b6abf63e7b277d280e4..50cd2d53efbd0e2b1908ab57509e3285c2f52a47 100644 |
--- a/chrome/test/ui/ui_test_suite.cc |
+++ b/chrome/test/ui/ui_test_suite.cc |
@@ -54,8 +54,9 @@ void UITestSuite::LoadCrashService() { |
return; |
} |
- 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; |
} |