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

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

Issue 2546423002: [Try # 3] Scheduler refactoring to virtually eliminate redundant DoWorks (Closed)
Patch Set: Fix lock order inversion 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/real_time_domain.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h b/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h
index 94d8a59796c134501ae05ba800e6ba7e56530995..68835991525cc3b8e32e8031dab5c422b3c772c6 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/real_time_domain.h
@@ -23,7 +23,7 @@ class BLINK_PLATFORM_EXPORT RealTimeDomain : 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;
protected:

Powered by Google App Engine
This is Rietveld 408576698