| Index: sandbox/win/tests/common/controller.cc
|
| diff --git a/sandbox/win/tests/common/controller.cc b/sandbox/win/tests/common/controller.cc
|
| index c9c63aedbe393240ef03328d7b8194b40dfdb870..8ee37710538e325d47b0fe987e412f2f10a77d36 100644
|
| --- a/sandbox/win/tests/common/controller.cc
|
| +++ b/sandbox/win/tests/common/controller.cc
|
| @@ -213,12 +213,8 @@ int TestRunner::InternalRunTest(const wchar_t* command) {
|
| target_process_id_ = 0;
|
| }
|
|
|
| - if (disable_csrss_) {
|
| - // Close all ALPC ports to disable CSRSS.
|
| - if (base::win::GetVersion() >= base::win::VERSION_WIN8) {
|
| - policy_->AddKernelObjectToClose(L"ALPC Port", NULL);
|
| - }
|
| - }
|
| + if (disable_csrss_)
|
| + policy_->DisconnectCsrss();
|
|
|
| // Get the path to the sandboxed process.
|
| wchar_t prog_name[MAX_PATH];
|
|
|