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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.cc

Issue 2583333002: Revert of Dont post delayed DoWork for disabled queues. (Closed)
Patch Set: Created 4 years 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/virtual_time_domain.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.cc b/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.cc
index 9b172b61719ee96e4641f9aad15e235b6723003f..f40c6307abeae942d4c0cc9297f90272c985ac97 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.cc
@@ -34,15 +34,11 @@
return now_;
}
-void VirtualTimeDomain::RequestWakeupAt(LazyNow* lazy_now,
- base::TimeTicks run_time) {
+void VirtualTimeDomain::RequestWakeup(base::TimeTicks now,
+ base::TimeDelta delay) {
// We don't need to do anything here because the caller of AdvanceTo is
// responsible for calling TaskQueueManager::MaybeScheduleImmediateWork if
// needed.
-}
-
-void VirtualTimeDomain::CancelWakeupAt(base::TimeTicks run_time) {
- // We ignore this because RequestWakeupAt is a NOP.
}
base::Optional<base::TimeDelta> VirtualTimeDomain::DelayTillNextTask(

Powered by Google App Engine
This is Rietveld 408576698