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

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

Issue 2817643003: Invalidate the "values cache" when resetting animated value state (Closed)
Patch Set: Created 3 years, 8 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/SVGAnimateElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
index 94bd50266b4d7177396d97bfadd425a8e5db4326..9003beb6d10d488f34637b096f5577a9213aada4 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
@@ -581,6 +581,7 @@ void SVGAnimateElement::SetAttributeType(const AtomicString& attribute_type) {
void SVGAnimateElement::ResetAnimatedPropertyType() {
DCHECK(!animated_value_);
+ InvalidatedValuesCache();
from_property_.Clear();
to_property_.Clear();
to_at_end_of_duration_property_.Clear();

Powered by Google App Engine
This is Rietveld 408576698