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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/throttled_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/renderer/throttled_time_domain.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
index 461d1857eaf1a7d3fecb3cdbd52daa7b151de0d9..db1d088798fc7e38e84f2f2b509b8e6d243bfa4c 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.cc
@@ -17,14 +17,10 @@
return "ThrottledTimeDomain";
}
-void ThrottledTimeDomain::RequestWakeupAt(LazyNow* lazy_now,
- base::TimeTicks run_time) {
+void ThrottledTimeDomain::RequestWakeup(base::TimeTicks now,
+ base::TimeDelta delay) {
// We assume the owner (i.e. TaskQueueThrottler) will manage wakeups on our
// behalf.
-}
-
-void ThrottledTimeDomain::CancelWakeupAt(base::TimeTicks run_time) {
- // We ignore this because RequestWakeupAt is a NOP.
}
base::Optional<base::TimeDelta> ThrottledTimeDomain::DelayTillNextTask(

Powered by Google App Engine
This is Rietveld 408576698