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

Unified Diff: Source/core/animation/AnimationTimeline.h

Issue 1287013003: Ensure serviceOnNextFrame isn't put off indefinitely. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
Index: Source/core/animation/AnimationTimeline.h
diff --git a/Source/core/animation/AnimationTimeline.h b/Source/core/animation/AnimationTimeline.h
index 1277d4debf4e9ab6ba8f8de60b6ff785a52f007b..6cd4479611b695b9a13fae9d6a3d113cf09e4ade 100644
--- a/Source/core/animation/AnimationTimeline.h
+++ b/Source/core/animation/AnimationTimeline.h
@@ -138,6 +138,7 @@ private:
AnimationTimelineTiming(AnimationTimeline* timeline)
: m_timeline(timeline)
, m_timer(this, &AnimationTimelineTiming::timerFired)
+ , m_currentScheduledTime(std::numeric_limits<double>::infinity())
{
ASSERT(m_timeline);
}
@@ -153,6 +154,7 @@ private:
private:
RawPtrWillBeMember<AnimationTimeline> m_timeline;
Timer<AnimationTimelineTiming> m_timer;
+ double m_currentScheduledTime;
};
friend class AnimationAnimationTimelineTest;
« no previous file with comments | « no previous file | Source/core/animation/AnimationTimeline.cpp » ('j') | Source/core/animation/AnimationTimeline.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698