| 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 08df54b3caadea6ab5b8d99a7f12821107baa6af..fc330b63c2be71404e9597f05ef5ef323463e716 100644
 | 
| --- a/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
 | 
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp
 | 
| @@ -376,7 +376,11 @@ bool SVGAnimationElement::isTargetAttributeCSSProperty(SVGElement* targetElement
 | 
|  
 | 
|  SVGAnimationElement::ShouldApplyAnimationType SVGAnimationElement::shouldApplyAnimation(SVGElement* targetElement, const QualifiedName& attributeName)
 | 
|  {
 | 
| -    if (!hasValidAttributeType() || !targetElement || attributeName == anyQName() || !targetElement->inActiveDocument())
 | 
| +    if (!hasValidAttributeType()
 | 
| +        || attributeName == anyQName()
 | 
| +        || !targetElement
 | 
| +        || !targetElement->inActiveDocument()
 | 
| +        || !targetElement->parentNode())
 | 
|          return DontApplyAnimation;
 | 
|  
 | 
|      // Always animate CSS properties, using the ApplyCSSAnimation code path, regardless of the attributeType value.
 | 
| 
 |