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

Unified Diff: Source/core/svg/animation/SMILTimeContainer.h

Issue 193053002: Tweaks and fixes to the SMILTimeContainer frame scheduling logic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 9 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 | « no previous file | Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/animation/SMILTimeContainer.h
diff --git a/Source/core/svg/animation/SMILTimeContainer.h b/Source/core/svg/animation/SMILTimeContainer.h
index 4d24650f617c2bb32508911b965be4e0b43fb6d0..e5518080797b63c2b020d4caebf1c2cbecd2f5b1 100644
--- a/Source/core/svg/animation/SMILTimeContainer.h
+++ b/Source/core/svg/animation/SMILTimeContainer.h
@@ -76,6 +76,8 @@ private:
Idle,
// Scheduled a wakeup to update the animation values.
SynchronizeAnimations,
+ // Scheduled a wakeup to trigger an animation frame.
+ FutureAnimationFrame,
// Scheduled a animation frame for continuous update.
AnimationFrame
};
@@ -88,6 +90,7 @@ private:
SMILTime updateAnimations(SMILTime elapsed, bool seekToTime = false);
void serviceOnNextFrame();
void scheduleWakeUp(double delayTime, FrameSchedulingState);
+ bool hasPendingSynchronization() const;
void updateDocumentOrderIndexes();
double lastResumeTime() const { return m_resumeTime ? m_resumeTime : m_beginTime; }
« no previous file with comments | « no previous file | Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698