Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
index 932e938c00b5740d9a0ab948c03843e6116b8d2b..3b9fd25a82dd9b5722e5b6007774c9c48397ff82 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.cpp |
@@ -164,9 +164,9 @@ bool LayoutSVGShape::strokeContains(const FloatPoint& point, |
void LayoutSVGShape::updateLocalTransform() { |
SVGGraphicsElement* graphicsElement = toSVGGraphicsElement(element()); |
- if (graphicsElement->hasAnimatedLocalTransform()) { |
- m_localTransform.setTransform( |
- graphicsElement->calculateAnimatedLocalTransform()); |
+ if (graphicsElement->hasTransform(SVGElement::IncludeMotionTransform)) { |
+ m_localTransform.setTransform(graphicsElement->calculateTransform( |
+ SVGElement::IncludeMotionTransform)); |
} else { |
m_localTransform = AffineTransform(); |
} |