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

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

Issue 2572893002: [Reland] Dont post delayed DoWork for disabled queues. (Closed)
Patch Set: Fix perftest 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 f40c6307abeae942d4c0cc9297f90272c985ac97..9e4bf0339039e1fe16abcea91cde49c9570c7663 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,13 +34,15 @@ base::TimeTicks VirtualTimeDomain::Now() const {
return now_;
}
-void VirtualTimeDomain::RequestWakeup(base::TimeTicks now,
- base::TimeDelta delay) {
+void VirtualTimeDomain::RequestWakeupAt(LazyNow* lazy_now,
+ base::TimeTicks run_time) {
// 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) {}
Sami 2016/12/14 16:29:38 // No-op because of the above. ?
alex clarke (OOO till 29th) 2016/12/14 16:50:36 Done.
+
base::Optional<base::TimeDelta> VirtualTimeDomain::DelayTillNextTask(
LazyNow* lazy_now) {
return base::Optional<base::TimeDelta>();

Powered by Google App Engine
This is Rietveld 408576698