Index: base/synchronization/waitable_event_win.cc |
diff --git a/base/synchronization/waitable_event_win.cc b/base/synchronization/waitable_event_win.cc |
index 0fcf488eb1e9b918cd11d0315c68b5317db6233b..a0e39c1571a205421b84e59270d867e86b19258c 100644 |
--- a/base/synchronization/waitable_event_win.cc |
+++ b/base/synchronization/waitable_event_win.cc |
@@ -50,7 +50,7 @@ bool WaitableEvent::Wait() { |
DWORD result = WaitForSingleObject(handle_, INFINITE); |
// It is most unexpected that this should ever fail. Help consumers learn |
// about it if it should ever fail. |
- DCHECK(result == WAIT_OBJECT_0) << "WaitForSingleObject failed"; |
+ DCHECK_EQ(WAIT_OBJECT_0, result) << "WaitForSingleObject failed"; |
return result == WAIT_OBJECT_0; |
} |