Index: base/message_loop/incoming_task_queue.cc |
diff --git a/base/message_loop/incoming_task_queue.cc b/base/message_loop/incoming_task_queue.cc |
index f0df650adc49f1a506a0fc03ee58cb987f51d64c..f838713899c3ec2d22618742e91b463eef6d22a3 100644 |
--- a/base/message_loop/incoming_task_queue.cc |
+++ b/base/message_loop/incoming_task_queue.cc |
@@ -63,6 +63,7 @@ bool IncomingTaskQueue::AddToIncomingQueue( |
Closure task, |
TimeDelta delay, |
bool nestable) { |
+ DCHECK(task); |
DLOG_IF(WARNING, |
delay.InSeconds() > kTaskDelayWarningThresholdInSeconds) |
<< "Requesting super-long task delay period of " << delay.InSeconds() |