Index: src/base/platform/condition-variable.cc |
diff --git a/src/base/platform/condition-variable.cc b/src/base/platform/condition-variable.cc |
index b91025a3dbb86b9e242221695a071d1c8fef7c9b..4547b66f7a6b912705d678c693c90be74996c0d8 100644 |
--- a/src/base/platform/condition-variable.cc |
+++ b/src/base/platform/condition-variable.cc |
@@ -182,7 +182,7 @@ void ConditionVariable::NativeHandle::Post(Event* event, bool result) { |
// Remove the event from the wait list. |
for (Event** wep = &waitlist_;; wep = &(*wep)->next_) { |
- DCHECK(*wep); |
+ DCHECK_NE(NULL, *wep); |
if (*wep == event) { |
*wep = event->next_; |
break; |