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

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

Issue 2276353002: Remove after wakeup logic and replace PumpTask with Fences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Slight simplification Created 4 years, 3 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/time_domain.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
index 5c4379ee3de28bfcb8f1d420aca36d2c473ade92..a9659b3aec17d700fa7f99b6e27272f221aabfe0 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/time_domain.h
@@ -112,9 +112,7 @@ class BLINK_PLATFORM_EXPORT TimeDomain {
void UnregisterQueue(internal::TaskQueueImpl* queue);
// Updates active queues associated with this TimeDomain.
- void UpdateWorkQueues(bool should_trigger_wakeup,
- const internal::TaskQueueImpl::Task* previous_task,
- LazyNow lazy_now);
+ void UpdateWorkQueues(LazyNow lazy_now);
// Called by the TaskQueueManager when the TimeDomain is registered.
virtual void OnRegisterWithTaskQueueManager(
@@ -133,15 +131,12 @@ class BLINK_PLATFORM_EXPORT TimeDomain {
// Call TaskQueueImpl::UpdateDelayedWorkQueue for each queue where the delay
// has elapsed.
- void WakeupReadyDelayedQueues(
- LazyNow* lazy_now,
- bool should_trigger_wakeup,
- const internal::TaskQueueImpl::Task* previous_task);
+ void WakeupReadyDelayedQueues(LazyNow* lazy_now);
protected:
// Clears expired entries from |delayed_wakeup_multimap_|. Caution needs to be
- // taken to ensure TaskQueueImpl::UpdateDelayedWorkQueue or
- // TaskQueueImpl::Pump is called on the affected queues.
+ // taken to ensure TaskQueueImpl::UpdateDelayedWorkQueue is called on the
+ // affected queues.
void ClearExpiredWakeups();
private:

Powered by Google App Engine
This is Rietveld 408576698