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