| Index: sandbox/win/tests/validation_tests/commands.cc
|
| diff --git a/sandbox/win/tests/validation_tests/commands.cc b/sandbox/win/tests/validation_tests/commands.cc
|
| index 45717b472db283b9f2344a396bc76dd4a0447e20..f64465a14a10d9a3f31a6fca6d09f1406afb3227 100644
|
| --- a/sandbox/win/tests/validation_tests/commands.cc
|
| +++ b/sandbox/win/tests/validation_tests/commands.cc
|
| @@ -267,7 +267,7 @@ int TestOpenAlternateDesktop(wchar_t *desktop_name) {
|
| DACL_SECURITY_INFORMATION, NULL, NULL,
|
| NULL, NULL);
|
| ::CloseHandle(test_handle);
|
| - if (result != ERROR_ACCESS_DENIED) {
|
| + if (result == ERROR_SUCCESS) {
|
| return SBOX_TEST_SUCCEEDED;
|
| }
|
| } else if (::GetLastError() != ERROR_ACCESS_DENIED) {
|
|
|