Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
index 2072bcaa97c3b9a2236fdb90464dcae03b0ab829..9ed7c72d32a89996c6a5310e3624e0244119abb8 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.cpp |
@@ -270,7 +270,8 @@ bool LayoutSVGResourceClipper::hitTestClipContent( |
} |
AffineTransform animatedLocalTransform = |
- toSVGClipPathElement(element())->calculateAnimatedLocalTransform(); |
+ toSVGClipPathElement(element())->calculateTransform( |
+ SVGElement::IncludeMotionTransform); |
if (!animatedLocalTransform.isInvertible()) |
return false; |
@@ -304,7 +305,8 @@ FloatRect LayoutSVGResourceClipper::resourceBoundingBox( |
calculateLocalClipBounds(); |
AffineTransform transform = |
- toSVGClipPathElement(element())->calculateAnimatedLocalTransform(); |
+ toSVGClipPathElement(element())->calculateTransform( |
+ SVGElement::IncludeMotionTransform); |
if (clipPathUnits() == SVGUnitTypes::kSvgUnitTypeObjectboundingbox) { |
transform.translate(referenceBox.x(), referenceBox.y()); |
transform.scaleNonUniform(referenceBox.width(), referenceBox.height()); |