| Index: Source/core/paint/SVGContainerPainter.cpp
|
| diff --git a/Source/core/paint/SVGContainerPainter.cpp b/Source/core/paint/SVGContainerPainter.cpp
|
| index 2d7d97dff4b111813ffd667539b2d82d9b2bf4b6..1d7bdfff1896b2ccd007eda439275d256c79aa95 100644
|
| --- a/Source/core/paint/SVGContainerPainter.cpp
|
| +++ b/Source/core/paint/SVGContainerPainter.cpp
|
| @@ -31,10 +31,10 @@ void SVGContainerPainter::paint(const PaintInfo& paintInfo)
|
| PaintInfo paintInfoBeforeFiltering(paintInfo);
|
| TransformRecorder transformRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGContainer, m_layoutSVGContainer.localToParentTransform());
|
| {
|
| - OwnPtr<FloatClipRecorder> clipRecorder;
|
| + FloatClipRecorder clipRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGContainer, paintInfoBeforeFiltering.phase);
|
| if (m_layoutSVGContainer.isSVGViewportContainer() && SVGLayoutSupport::isOverflowHidden(&m_layoutSVGContainer)) {
|
| FloatRect viewport = m_layoutSVGContainer.localToParentTransform().inverse().mapRect(toLayoutSVGViewportContainer(m_layoutSVGContainer).viewport());
|
| - clipRecorder = adoptPtr(new FloatClipRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGContainer, paintInfoBeforeFiltering.phase, viewport));
|
| + clipRecorder.begin(viewport);
|
| }
|
|
|
| SVGPaintContext paintContext(m_layoutSVGContainer, paintInfoBeforeFiltering);
|
|
|