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

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

Issue 2674903003: Revert of 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
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 1d8a45e7649d133e4b29b0336ee6ef1d1a67934d..a90b3be285d13c282459df1e65c61341b5132c6a 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