| Index: third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| index 76645345a9786e441d438af36fff1fa94f73bd0c..089185dbd7dcdb72a9f054c1b1cd01a3468c19ae 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| @@ -573,7 +573,8 @@ void SVGAnimationElement::startedActiveInterval() {
|
|
|
| if (!isValid())
|
| return;
|
| -
|
| + if (!targetElement())
|
| + return;
|
| if (!hasValidAttributeType())
|
| return;
|
|
|
| @@ -649,7 +650,7 @@ void SVGAnimationElement::startedActiveInterval() {
|
| void SVGAnimationElement::updateAnimation(float percent,
|
| unsigned repeatCount,
|
| SVGSMILElement* resultElement) {
|
| - if (!m_animationValid)
|
| + if (!m_animationValid || !targetElement())
|
| return;
|
|
|
| float effectivePercent;
|
|
|