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

Unified Diff: third_party/WebKit/Source/platform/Timer.h

Issue 1727103002: Revert of Per WebViewScheduler virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimer.cpp ('k') | third_party/WebKit/Source/platform/Timer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/Timer.h
diff --git a/third_party/WebKit/Source/platform/Timer.h b/third_party/WebKit/Source/platform/Timer.h
index c5423b6625c2d6893384515e7ba15380fd454912..8354eca242672535b65684e9c9b053b6decff659 100644
--- a/third_party/WebKit/Source/platform/Timer.h
+++ b/third_party/WebKit/Source/platform/Timer.h
@@ -67,7 +67,7 @@
double repeatInterval() const { return m_repeatInterval; }
void augmentRepeatInterval(double delta) {
- double now = timerMonotonicallyIncreasingTime();
+ double now = monotonicallyIncreasingTime();
setNextFireTime(now, m_nextFireTime - now + delta);
m_repeatInterval += delta;
}
@@ -82,12 +82,10 @@
private:
virtual void fired() = 0;
- virtual WebTaskRunner* timerTaskRunner() const;
+ virtual WebTaskRunner* timerTaskRunner();
NO_LAZY_SWEEP_SANITIZE_ADDRESS
virtual bool canFire() const { return true; }
-
- double timerMonotonicallyIncreasingTime() const;
void setNextFireTime(double now, double delay);
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimer.cpp ('k') | third_party/WebKit/Source/platform/Timer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698