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 d6616a853d70078b6e6b0a489b1a64c7346450fc..f2c4aa3228fbab097a0055f22c7dd5d0ee6b3716 100644 |
--- a/third_party/WebKit/Source/platform/Timer.h |
+++ b/third_party/WebKit/Source/platform/Timer.h |
@@ -61,6 +61,7 @@ |
const WebTraceLocation& location() const { return m_location; } |
double nextFireInterval() const; |
+ double nextUnalignedFireInterval() const; |
double repeatInterval() const { return m_repeatInterval; } |
void augmentRepeatInterval(double delta) { |
@@ -68,6 +69,8 @@ |
setNextFireTime(now, m_nextFireTime - now + delta); |
m_repeatInterval += delta; |
} |
+ |
+ void didChangeAlignmentInterval(double now); |
struct PLATFORM_EXPORT Comparator { |
bool operator()(const TimerBase* a, const TimerBase* b) const; |
@@ -118,6 +121,7 @@ |
}; |
double m_nextFireTime; // 0 if inactive |
+ double m_unalignedNextFireTime; // m_nextFireTime not considering alignment interval |
double m_repeatInterval; // 0 if not repeating |
WebTraceLocation m_location; |
CancellableTimerTask* m_cancellableTimerTask; // NOT OWNED |