| Index: third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
|
| index 18b00eda145af1fef763398ed80d8440de7b1c49..e625e7eac3439353fe9a85a0ebf444e7ff1fa682 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.cpp
|
| @@ -169,8 +169,7 @@ void setAnimatedValueOnAllTargetProperties(const SVGElementInstances& list, cons
|
| RefPtrWillBeRawPtr<SVGPropertyBase> value = passValue;
|
|
|
| for (SVGElement* elementInstance : list) {
|
| - RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> animatedProperty = elementInstance->propertyFromAttribute(attributeName);
|
| - if (animatedProperty)
|
| + if (SVGAnimatedPropertyBase* animatedProperty = elementInstance->propertyFromAttribute(attributeName))
|
| animatedProperty->setAnimatedValue(value);
|
| }
|
| }
|
| @@ -204,8 +203,7 @@ void SVGAnimatedTypeAnimator::stopAnimValAnimation(const SVGElementInstances& li
|
| SVGElement::InstanceUpdateBlocker blocker(m_contextElement);
|
|
|
| for (SVGElement* elementInstance : list) {
|
| - RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> animatedProperty = elementInstance->propertyFromAttribute(m_animatedProperty->attributeName());
|
| - if (animatedProperty)
|
| + if (SVGAnimatedPropertyBase* animatedProperty = elementInstance->propertyFromAttribute(m_animatedProperty->attributeName()))
|
| animatedProperty->animationEnded();
|
| }
|
| }
|
|
|