Index: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
index 7daff2e083803e10b7fddf5b8a69a0cfc22a746e..52d4580d1a681f82f89d419350639e3c7c31ec5b 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp |
@@ -221,11 +221,15 @@ void SVGAnimationElement::SvgAttributeChanged(const QualifiedName& attr_name) { |
SVGSMILElement::SvgAttributeChanged(attr_name); |
} |
+void SVGAnimationElement::InvalidatedValuesCache() { |
+ last_values_animation_from_ = String(); |
+ last_values_animation_to_ = String(); |
+} |
+ |
void SVGAnimationElement::AnimationAttributeChanged() { |
// Assumptions may not hold after an attribute change. |
animation_valid_ = false; |
- last_values_animation_from_ = String(); |
- last_values_animation_to_ = String(); |
+ InvalidatedValuesCache(); |
SetInactive(); |
} |