Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp |
index 02e3d662659dfa8c27b9f901cfd8be8e860dd3fa..9f52f11b9453d9e1cc4ae6287fcbcff364f7f8b5 100644 |
--- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -615,6 +615,11 @@ void SVGSMILElement::setTargetElement(SVGElement* target) { |
m_targetElement = target; |
didChangeAnimationTarget(); |
+ |
+ // If the animation is scheduled and there's an active interval, then |
+ // revalidate the animation value. |
+ if (m_activeState != Inactive && m_isScheduled) |
+ startedActiveInterval(); |
} |
SMILTime SVGSMILElement::elapsed() const { |