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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h

Issue 2320403003: Prevent redundant DoWorks due to canceled delayed tasks (Closed)
Patch Set: Added a commant. Created 4 years, 3 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: third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
index c6f2b29f5918544ddec4b74bf3a8032cbea5dd09..3dbe6277bef9c3a2e6b6512d15a956216730bb3b 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.h
@@ -172,7 +172,8 @@ class BLINK_PLATFORM_EXPORT TaskQueueImpl final : public TaskQueue {
}
// Enqueues any delayed tasks which should be run now on the
- // |delayed_work_queue|. Must be called from the main thread.
+ // |delayed_work_queue|. It also schedules the next wake up with the
+ // TimeDomain. Must be called from the main thread.
void MoveReadyDelayedTasksToDelayedWorkQueue(LazyNow* lazy_now);
Sami 2016/09/13 17:42:53 Not sure if we need to do this now, but maybe we c
alex clarke (OOO till 29th) 2016/09/14 09:04:24 Done.
private:

Powered by Google App Engine
This is Rietveld 408576698