Index: base/message_pump_win.cc |
diff --git a/base/message_pump_win.cc b/base/message_pump_win.cc |
index d3f36218cac5779299bb970a70768bc6b934f8c3..6098a4a8dc3c7274c520c399f40a27d62bc0a959 100644 |
--- a/base/message_pump_win.cc |
+++ b/base/message_pump_win.cc |
@@ -470,7 +470,7 @@ void MessagePumpForIO::DoRunLoop() { |
void MessagePumpForIO::WaitForWork() { |
// We do not support nested IO message loops. This is to avoid messy |
// recursion problems. |
- DCHECK(state_->run_depth == 1) << "Cannot nest an IO message loop!"; |
+ DCHECK_EQ(1, state_->run_depth) << "Cannot nest an IO message loop!"; |
int timeout = GetCurrentDelay(); |
if (timeout < 0) // Negative value means no timers waiting. |