| Index: Source/core/svg/SVGAnimateMotionElement.cpp
|
| diff --git a/Source/core/svg/SVGAnimateMotionElement.cpp b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| index fc574ab5f74d2dc8741b04a5b84f363c39473458..73a3ee64ca76bcfef53bb5c6f38e7cc3a028f8aa 100644
|
| --- a/Source/core/svg/SVGAnimateMotionElement.cpp
|
| +++ b/Source/core/svg/SVGAnimateMotionElement.cpp
|
| @@ -200,8 +200,17 @@ void SVGAnimateMotionElement::clearAnimatedType(SVGElement* targetElement)
|
| {
|
| if (!targetElement)
|
| return;
|
| - if (AffineTransform* transform = targetElement->supplementalTransform())
|
| - transform->makeIdentity();
|
| +
|
| + AffineTransform* transform = targetElement->supplementalTransform();
|
| + if (!transform)
|
| + return;
|
| +
|
| + transform->makeIdentity();
|
| +
|
| + if (RenderObject* targetRenderer = targetElement->renderer()) {
|
| + targetRenderer->setNeedsTransformUpdate();
|
| + RenderSVGResource::markForLayoutAndParentResourceInvalidation(targetRenderer);
|
| + }
|
| }
|
|
|
| bool SVGAnimateMotionElement::calculateToAtEndOfDurationValue(const String& toAtEndOfDurationString)
|
|
|