Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 7aafc4cd36b37001f76d3e145cc028d0508b0ec5..20758d6302e58c67e25ae31d5a983fc8681fdbb5 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -2379,7 +2379,7 @@ void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPainti |
rootRelativeBoundsComputed = true; |
} |
- resourceClipper = toRenderSVGResourceClipper(element->renderer()->toRenderSVGResourceContainer()); |
+ resourceClipper = toRenderSVGResourceClipper(toRenderSVGResourceContainer(element->renderer())); |
if (!resourceClipper->applyClippingToContext(renderer(), rootRelativeBounds, |
paintingInfo.paintDirtyRect, context, clipperContext)) { |
// No need to post-apply the clipper if this failed. |