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

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

Issue 107083007: Reset SVGAnimationElement values animation state on attribute changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 0ms timeout for pass. Created 6 years, 11 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/animate-element-reinserted-crash-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/SVGAnimationElement.cpp
diff --git a/Source/core/svg/SVGAnimationElement.cpp b/Source/core/svg/SVGAnimationElement.cpp
index f17bd5e7bd58545e0faea0e193c211344fdbf562..bc18e7eed4b08b41527ef9523d24ae119f370f96 100644
--- a/Source/core/svg/SVGAnimationElement.cpp
+++ b/Source/core/svg/SVGAnimationElement.cpp
@@ -242,6 +242,8 @@ void SVGAnimationElement::animationAttributeChanged()
{
// Assumptions may not hold after an attribute change.
m_animationValid = false;
+ m_lastValuesAnimationFrom = String();
+ m_lastValuesAnimationTo = String();
setInactive();
}
« no previous file with comments | « LayoutTests/svg/animations/animate-element-reinserted-crash-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698