Index: Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
index c1978d673723ea053f0444e1a07aeba93f1520af..9d99a7df70896aba5a4752dadf8fed8d88f7170f 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceClipper.cpp |
@@ -234,7 +234,7 @@ bool RenderSVGResourceClipper::drawContentIntoMaskImage(ClipperData* clipperData |
WindRule newClipRule = style->svgStyle()->clipRule(); |
bool isUseElement = childNode->hasTagName(SVGNames::useTag); |
if (isUseElement) { |
- SVGUseElement* useElement = static_cast<SVGUseElement*>(childNode); |
+ SVGUseElement* useElement = toSVGUseElement(childNode); |
renderer = useElement->rendererClipChild(); |
if (!renderer) |
continue; |