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

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

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.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.h
index a841226f23d4dda6e13dba331ec95993286fa90b..2cd7069d526cb16ffd686e1715a74bbe85e79b7c 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/virtual_time_domain.h
@@ -32,7 +32,8 @@ class BLINK_PLATFORM_EXPORT VirtualTimeDomain : public TimeDomain {
protected:
void OnRegisterWithTaskQueueManager(
TaskQueueManager* task_queue_manager) override;
- void RequestWakeup(base::TimeTicks now, base::TimeDelta delay) override;
+ void RequestWakeupAt(LazyNow* lazy_now, base::TimeTicks run_time) override;
+ void CancelWakeupAt(base::TimeTicks run_time) override;
void AsValueIntoInternal(
base::trace_event::TracedValue* state) const override;

Powered by Google App Engine
This is Rietveld 408576698