| Index: sandbox/win/src/handle_closer_test.cc
|
| diff --git a/sandbox/win/src/handle_closer_test.cc b/sandbox/win/src/handle_closer_test.cc
|
| index 1e0ab4983945b8c1ed8da54c7498b12891b01f70..7e8e732c886507116cbe5de20042e937d31a84f4 100644
|
| --- a/sandbox/win/src/handle_closer_test.cc
|
| +++ b/sandbox/win/src/handle_closer_test.cc
|
| @@ -289,10 +289,9 @@ TEST(HandleCloserTest, RunThreadPool) {
|
| TestRunner runner;
|
| runner.SetTimeout(2000);
|
| runner.SetTestState(AFTER_REVERT);
|
| - sandbox::TargetPolicy* policy = runner.GetPolicy();
|
|
|
| - // Sever the CSRSS connection by closing ALPC ports inside the sandbox.
|
| - CHECK_EQ(policy->AddKernelObjectToClose(L"ALPC Port", NULL), SBOX_ALL_OK);
|
| + // Sandbox policy will determine which platforms to disconnect CSRSS and when
|
| + // to close the CSRSS handle.
|
|
|
| EXPECT_EQ(SBOX_TEST_SUCCEEDED, runner.RunTest(L"RunThreadPool"));
|
| }
|
|
|