| Index: Source/core/paint/SVGRootPainter.cpp
|
| diff --git a/Source/core/paint/SVGRootPainter.cpp b/Source/core/paint/SVGRootPainter.cpp
|
| index 34a7b980e47f74685d419af170bd3ee62f563827..b58b79beb4f0bdc0bfd877a9d5f3d3bc4b349591 100644
|
| --- a/Source/core/paint/SVGRootPainter.cpp
|
| +++ b/Source/core/paint/SVGRootPainter.cpp
|
| @@ -44,9 +44,9 @@ void SVGRootPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& paintO
|
| PaintInfo paintInfoBeforeFiltering(paintInfo);
|
|
|
| // Apply initial viewport clip.
|
| - OwnPtr<ClipRecorder> clipRecorder;
|
| + ClipRecorder clipRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGRoot, paintInfoBeforeFiltering.displayItemTypeForClipping());
|
| if (m_layoutSVGRoot.shouldApplyViewportClip())
|
| - clipRecorder = adoptPtr(new ClipRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGRoot, paintInfoBeforeFiltering.displayItemTypeForClipping(), LayoutRect(pixelSnappedIntRect(m_layoutSVGRoot.overflowClipRect(paintOffset)))));
|
| + clipRecorder.begin(LayoutRect(pixelSnappedIntRect(m_layoutSVGRoot.overflowClipRect(paintOffset))));
|
|
|
| // Convert from container offsets (html layoutObjects) to a relative transform (svg layoutObjects).
|
| // Transform from our paint container's coordinate system to our local coords.
|
|
|