Chromium Code Reviews| Index: Source/core/svg/SVGAnimationElement.cpp |
| diff --git a/Source/core/svg/SVGAnimationElement.cpp b/Source/core/svg/SVGAnimationElement.cpp |
| index b1397f06b87b37edd66525151c86bfa0dd7b8145..66a675f1fb8780d1759f3b02b01936c6caedea6e 100644 |
| --- a/Source/core/svg/SVGAnimationElement.cpp |
| +++ b/Source/core/svg/SVGAnimationElement.cpp |
| @@ -551,6 +551,9 @@ void SVGAnimationElement::startedActiveInterval() |
| { |
| m_animationValid = false; |
| + if (!isValid()) |
| + return; |
| + |
| if (!hasValidAttributeType()) |
| return; |