| Index: Source/core/paint/SVGShapePainter.cpp
|
| diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp
|
| index f753df97bcc244ec8f4818c8d061b2d717fdf1d5..e62e05fe348f8cc6654faf0fea0cce927f952d5f 100644
|
| --- a/Source/core/paint/SVGShapePainter.cpp
|
| +++ b/Source/core/paint/SVGShapePainter.cpp
|
| @@ -212,9 +212,9 @@ void SVGShapePainter::paintMarker(const PaintInfo& paintInfo, LayoutSVGResourceM
|
| markerPaintInfo.context = &contextRecorder.context();
|
|
|
| TransformRecorder transformRecorder(*markerPaintInfo.context, marker, marker.markerTransformation(position.origin, position.angle, strokeWidth));
|
| - OwnPtr<FloatClipRecorder> clipRecorder;
|
| + FloatClipRecorder clipRecorder(*markerPaintInfo.context, marker, markerPaintInfo.phase);
|
| if (SVGLayoutSupport::isOverflowHidden(&marker))
|
| - clipRecorder = adoptPtr(new FloatClipRecorder(*markerPaintInfo.context, marker, markerPaintInfo.phase, marker.viewport()));
|
| + clipRecorder.begin(marker.viewport());
|
|
|
| SVGContainerPainter(marker).paint(markerPaintInfo);
|
| }
|
|
|