Index: Source/core/svg/SVGLocatable.cpp |
diff --git a/Source/core/svg/SVGLocatable.cpp b/Source/core/svg/SVGLocatable.cpp |
index 3549580941969786af88991336550c5c6edd186f..d462fa2e5b006e751d4f8a6c7be81671e43ae2c5 100644 |
--- a/Source/core/svg/SVGLocatable.cpp |
+++ b/Source/core/svg/SVGLocatable.cpp |
@@ -87,8 +87,7 @@ AffineTransform SVGLocatable::computeCTM(SVGElement* element, CTMScope mode, Sty |
if (!currentElement->isSVGElement()) |
break; |
- if (toSVGElement(currentElement)->isSVGStyledElement()) |
- ctm = toSVGStyledElement(currentElement)->localCoordinateSpaceTransform(mode).multiply(ctm); |
+ ctm = toSVGElement(currentElement)->localCoordinateSpaceTransform(mode).multiply(ctm); |
// For getCTM() computation, stop at the nearest viewport element |
if (currentElement == stopAtElement) |