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

Unified Diff: third_party/WebKit/public/platform/scheduler/base/task_queue.h

Issue 2705703002: Revert of [Reland] Dont post delayed DoWork for disabled queues. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/scheduler/base/task_queue.h
diff --git a/third_party/WebKit/public/platform/scheduler/base/task_queue.h b/third_party/WebKit/public/platform/scheduler/base/task_queue.h
index c57d23737a45a6631b7991d86b23c51ebe1f14ea..07335fb002075f01235ba86c2300d30cfe4e7df9 100644
--- a/third_party/WebKit/public/platform/scheduler/base/task_queue.h
+++ b/third_party/WebKit/public/platform/scheduler/base/task_queue.h
@@ -150,9 +150,8 @@
// NOTE: this must be called on the thread this TaskQueue was created by.
virtual bool HasPendingImmediateWork() const = 0;
- // Returns requested run time of next scheduled wakeup for a delayed task
- // which is not ready to run. If there are no such tasks or the queue is
- // disabled (by a QueueEnabledVoter) it returns base::nullopt.
+ // Returns requested run time of next delayed task, which is not ready
+ // to run. If there are no such tasks, returns base::nullopt.
// NOTE: this must be called on the thread this TaskQueue was created by.
virtual base::Optional<base::TimeTicks> GetNextScheduledWakeUp() = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698