| Index: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
|
| index 164a531636222a5ade29705fcbeb3e057d7aa535..7b8de068ee80276e0788c4146ee800412a766179 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp
|
| @@ -204,7 +204,9 @@ void SVGShapePainter::paintMarkers(const PaintInfo& paintInfo, const FloatRect&
|
| markerPaintInfo.m_cullRect.m_rect = LayoutRect::infiniteIntRect();
|
|
|
| paintMarker(markerPaintInfo, *marker, (*markerPositions)[i], strokeWidth);
|
| - pictureBuilder.endRecording()->playback(paintInfo.context.canvas());
|
| + RefPtr<const SkPicture> recording = pictureBuilder.endRecording();
|
| + if (recording)
|
| + recording->playback(paintInfo.context.canvas());
|
| }
|
| }
|
| }
|
|
|