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 9adcf6c62143b94da6487d03ce713a61b8ebda88..8e821ced73fee5138e47058ee3d93783e9f141fa 100644 |
--- a/sandbox/win/src/handle_closer_test.cc |
+++ b/sandbox/win/src/handle_closer_test.cc |
@@ -157,7 +157,8 @@ void WINAPI ThreadPoolTask(void* event, BOOLEAN timeout) { |
// Run a thread pool inside a sandbox without a CSRSS connection. |
SBOX_TESTS_COMMAND int RunThreadPool(int argc, wchar_t **argv) { |
HANDLE wait_list[20]; |
- CHECK(finish_event = ::CreateEvent(NULL, TRUE, FALSE, NULL)); |
+ finish_event = ::CreateEvent(NULL, TRUE, FALSE, NULL); |
+ CHECK(finish_event); |
// Set up a bunch of waiters. |
HANDLE pool = NULL; |