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

Unified Diff: third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h

Issue 2546423002: [Try # 3] Scheduler refactoring to virtually eliminate redundant DoWorks (Closed)
Patch Set: Rebased 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.h
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h
index ba59a6c2682f416a5ddfb802764f0c33ad9f9678..c9d73fabe40f2569748f674c03dd49fe9710bd33 100644
--- a/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/throttled_time_domain.h
@@ -22,7 +22,7 @@ class BLINK_PLATFORM_EXPORT ThrottledTimeDomain : public RealTimeDomain {
// TimeDomain implementation:
const char* GetName() const override;
void RequestWakeup(base::TimeTicks now, base::TimeDelta delay) override;
- bool MaybeAdvanceTime() override;
+ base::Optional<base::TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override;
using TimeDomain::WakeupReadyDelayedQueues;

Powered by Google App Engine
This is Rietveld 408576698