Index: base/threading/sequenced_worker_pool.cc |
diff --git a/base/threading/sequenced_worker_pool.cc b/base/threading/sequenced_worker_pool.cc |
index a5f997fd34dcdc4d1cbc35021d6f8025fc22bee6..98306041f9ae6721b73961188dc413afbd174267 100644 |
--- a/base/threading/sequenced_worker_pool.cc |
+++ b/base/threading/sequenced_worker_pool.cc |
@@ -695,6 +695,8 @@ bool SequencedWorkerPool::Inner::PostTask( |
const tracked_objects::Location& from_here, |
Closure task, |
TimeDelta delay) { |
+ DCHECK(task); |
+ |
// TODO(fdoray): Uncomment this DCHECK. It is initially commented to avoid a |
// revert of the CL that adds debug::DumpWithoutCrashing() if it fails on the |
// waterfall. https://crbug.com/622400 |