Index: base/synchronization/condition_variable_win.cc |
diff --git a/base/synchronization/condition_variable_win.cc b/base/synchronization/condition_variable_win.cc |
index 61c6a715e0eccd8557338193f7f8313ab431b9ce..714572acfb94471bbc8c10a10c4e157750ed1e64 100644 |
--- a/base/synchronization/condition_variable_win.cc |
+++ b/base/synchronization/condition_variable_win.cc |
@@ -35,7 +35,7 @@ void ConditionVariable::TimedWait(const TimeDelta& max_time) { |
#endif |
if (FALSE == SleepConditionVariableSRW(&cv_, srwlock_, timeout, 0)) { |
- DCHECK(GetLastError() != WAIT_TIMEOUT); |
+ DCHECK(GetLastError() == ERROR_TIMEOUT); |
} |
#if DCHECK_IS_ON() |