Index: Source/core/rendering/svg/RenderSVGShape.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGShape.cpp b/Source/core/rendering/svg/RenderSVGShape.cpp |
index b5c95287aeba6a2d9607367eb16c2f20df22fa19..fd362d6d39313c22cfef16e9f4c5b31f36668c89 100644 |
--- a/Source/core/rendering/svg/RenderSVGShape.cpp |
+++ b/Source/core/rendering/svg/RenderSVGShape.cpp |
@@ -196,7 +196,7 @@ bool RenderSVGShape::shouldGenerateMarkerPositions() const |
if (!style()->svgStyle()->hasMarkers()) |
return false; |
- if (!toSVGGraphicsElement(element())->supportsMarkers()) |
+ if (!SVGResources::supportsMarkers(*toSVGGraphicsElement(element()))) |
return false; |
SVGResources* resources = SVGResourcesCache::cachedResourcesForRenderObject(this); |