| Index: Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| index eb1135f52f9c0be8f674930527ad6f474eab998f..2a331c6e24de9f326baff08671152f56f654d88b 100644
|
| --- a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
| @@ -151,7 +151,7 @@ bool RenderSVGResourceClipper::applyClippingToContext(RenderObject* target, cons
|
| return false;
|
| TemporaryChange<bool> inClipExpansionChange(m_inClipExpansion, true);
|
|
|
| - AffineTransform animatedLocalTransform = toSVGClipPathElement(element())->animatedLocalTransform();
|
| + AffineTransform animatedLocalTransform = toSVGClipPathElement(element())->calculateAnimatedLocalTransform();
|
| // When drawing a clip for non-SVG elements, the CTM does not include the zoom factor.
|
| // In this case, we need to apply the zoom scale explicitly - but only for clips with
|
| // userSpaceOnUse units (the zoom is accounted for objectBoundingBox-resolved lengths).
|
| @@ -308,7 +308,7 @@ void RenderSVGResourceClipper::calculateClipContentPaintInvalidationRect()
|
| continue;
|
| m_clipBoundaries.unite(renderer->localToParentTransform().mapRect(renderer->paintInvalidationRectInLocalCoordinates()));
|
| }
|
| - m_clipBoundaries = toSVGClipPathElement(element())->animatedLocalTransform().mapRect(m_clipBoundaries);
|
| + m_clipBoundaries = toSVGClipPathElement(element())->calculateAnimatedLocalTransform().mapRect(m_clipBoundaries);
|
| }
|
|
|
| bool RenderSVGResourceClipper::hitTestClipContent(const FloatRect& objectBoundingBox, const FloatPoint& nodeAtPoint)
|
| @@ -324,7 +324,7 @@ bool RenderSVGResourceClipper::hitTestClipContent(const FloatRect& objectBoundin
|
| point = transform.inverse().mapPoint(point);
|
| }
|
|
|
| - AffineTransform animatedLocalTransform = toSVGClipPathElement(element())->animatedLocalTransform();
|
| + AffineTransform animatedLocalTransform = toSVGClipPathElement(element())->calculateAnimatedLocalTransform();
|
| if (!animatedLocalTransform.isInvertible())
|
| return false;
|
|
|
|
|