Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: content/renderer/categorized_worker_pool.cc

Issue 2785943004: DCHECK tasks posted by TaskRunner::PostTask (Closed)
Patch Set: fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/categorized_worker_pool.cc
diff --git a/content/renderer/categorized_worker_pool.cc b/content/renderer/categorized_worker_pool.cc
index fc89b888fa1ef71f10bb62e0f910b75c6446a342..8ce19ba426ca8a587f6fa361c74c4ecf5a98e291 100644
--- a/content/renderer/categorized_worker_pool.cc
+++ b/content/renderer/categorized_worker_pool.cc
@@ -63,6 +63,7 @@ class CategorizedWorkerPool::CategorizedWorkerPoolSequencedTaskRunner
bool PostNonNestableDelayedTask(const tracked_objects::Location& from_here,
base::Closure task,
base::TimeDelta delay) override {
+ DCHECK(task);
base::AutoLock lock(lock_);
// Remove completed tasks.
« no previous file with comments | « chrome/browser/after_startup_task_utils.cc ('k') | third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698