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

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

Issue 2257803002: Refactor SMILTimeContainer can-schedule-frame predicate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@smilcontainer-timeline-cleanup
Patch Set: Rebase Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h
diff --git a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h
index a8a12ea4d886d7ac4bd7119aa92dfbea80f4544e..873294c0ffa4a8de0b9249c5c420d37c7fe291d3 100644
--- a/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h
+++ b/third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h
@@ -105,6 +105,7 @@ private:
void animationPolicyTimerFired(TimerBase*);
ImageAnimationPolicy animationPolicy() const;
bool handleAnimationPolicy(AnimationPolicyOnceAction);
+ bool canScheduleFrame(SMILTime earliestFireTime) const;
void updateAnimationsAndScheduleFrameIfNeeded(SMILTime elapsed, bool seekToTime = false);
SMILTime updateAnimations(SMILTime elapsed, bool seekToTime = false);
void serviceOnNextFrame();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698