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

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

Issue 2283843002: Hoist updateAnimation() calls from SVGSMILElement::progress (Closed)
Patch Set: 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
Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
index 16d7b7b017f521ea57c2a1a4f90471e3c6a97885..9caca14978b3f269354f9311e1302d43010f5363 100644
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h
@@ -94,8 +94,9 @@ public:
SMILTime simpleDuration() const;
void seekToIntervalCorrespondingToTime(SMILTime elapsed);
- bool progress(SMILTime elapsed, SVGSMILElement* resultsElement, bool seekToTime);
+ bool progress(SMILTime elapsed, bool seekToTime);
SMILTime nextProgressTime() const;
+ void updateAnimatedValue(SVGSMILElement* resultElement) { updateAnimation(m_lastPercent, m_lastRepeat, resultElement); }
void reset();

Powered by Google App Engine
This is Rietveld 408576698