| 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 f8b993764eec2eb1449a9334d9b296a7fd61e86e..8f7c47a67d644e609ce507c553eb6b29a4343b96 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
|
| @@ -518,11 +518,7 @@ void SVGAnimationElement::currentValuesForValuesAnimation(
|
| void SVGAnimationElement::startedActiveInterval() {
|
| m_animationValid = false;
|
|
|
| - if (!isValid())
|
| - return;
|
| - if (!targetElement())
|
| - return;
|
| - if (!hasValidAttributeType())
|
| + if (!isValid() || !hasValidTarget())
|
| return;
|
|
|
| // These validations are appropriate for all animation modes.
|
|
|