Index: Source/core/paint/SVGRootPainter.cpp |
diff --git a/Source/core/paint/SVGRootPainter.cpp b/Source/core/paint/SVGRootPainter.cpp |
index 5e5f5bbd3d1cfe0cc11e9f08228164d65020e227..444c5bce2650082d91c31578ee6cfc1b84d82e56 100644 |
--- a/Source/core/paint/SVGRootPainter.cpp |
+++ b/Source/core/paint/SVGRootPainter.cpp |
@@ -46,7 +46,7 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO |
// Apply initial viewport clip. |
OwnPtr<ClipRecorder> clipRecorder; |
if (m_renderSVGRoot.shouldApplyViewportClip()) |
- clipRecorder = adoptPtr(new ClipRecorder(m_renderSVGRoot.displayItemClient(), paintInfoBeforeFiltering.context, paintInfoBeforeFiltering.displayItemTypeForClipping(), pixelSnappedIntRect(m_renderSVGRoot.overflowClipRect(paintOffset)))); |
+ clipRecorder = adoptPtr(new ClipRecorder(m_renderSVGRoot.displayItemClient(), paintInfoBeforeFiltering.context, paintInfoBeforeFiltering.displayItemTypeForClipping(), LayoutRect(pixelSnappedIntRect(m_renderSVGRoot.overflowClipRect(paintOffset))))); |
// Convert from container offsets (html renderers) to a relative transform (svg renderers). |
// Transform from our paint container's coordinate system to our local coords. |