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

Unified Diff: Source/core/svg/SVGAnimateElement.cpp

Issue 183973023: Always reset the animated property for CSS-type SVG animation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | « LayoutTests/svg/animations/additive-from-to-fill-animation-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimateElement.cpp
diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp
index 2f2c9daa77acd057619e01042dc18618b8c7d8f5..22dc7ffb82246c30aa95249ac5887f62e920c7e1 100644
--- a/Source/core/svg/SVGAnimateElement.cpp
+++ b/Source/core/svg/SVGAnimateElement.cpp
@@ -228,8 +228,7 @@ void SVGAnimateElement::resetAnimatedType()
computeCSSPropertyValue(targetElement, cssPropertyID(attributeName.localName()), baseValue);
}
- if (!m_animatedProperty)
- m_animatedProperty = animator->constructFromString(baseValue);
+ m_animatedProperty = animator->constructFromString(baseValue);
}
static inline void applyCSSPropertyToTarget(SVGElement* targetElement, CSSPropertyID id, const String& value)
« no previous file with comments | « LayoutTests/svg/animations/additive-from-to-fill-animation-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698