| Index: Source/core/svg/SVGAnimateElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateElement.cpp b/Source/core/svg/SVGAnimateElement.cpp
|
| index 198489ce8f806aee2137c4dd308ce969cdf3e4a5..2191456926533a4915f1a397dcc4793b8143580a 100644
|
| --- a/Source/core/svg/SVGAnimateElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateElement.cpp
|
| @@ -99,7 +99,7 @@ void SVGAnimateElement::calculateAnimatedValue(float percentage, unsigned repeat
|
| {
|
| ASSERT(resultElement);
|
| SVGElement* targetElement = this->targetElement();
|
| - if (!targetElement)
|
| + if (!targetElement || !isSVGAnimateElement(*resultElement))
|
| return;
|
|
|
| ASSERT(m_animatedPropertyType == determineAnimatedPropertyType(targetElement));
|
|
|