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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/virtual_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/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 715948d55ce5d69396b84b34284e5411b16c67b3..a841226f23d4dda6e13dba331ec95993286fa90b 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
@@ -21,7 +21,7 @@ class BLINK_PLATFORM_EXPORT VirtualTimeDomain : public TimeDomain {
// TimeDomain implementation:
LazyNow CreateLazyNow() const override;
base::TimeTicks Now() const override;
- bool MaybeAdvanceTime() override;
+ base::Optional<base::TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override;
const char* GetName() const override;
// Advances this time domain to |now|. NOTE |now| is supposed to be

Powered by Google App Engine
This is Rietveld 408576698