| Index: third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp b/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
|
| index a6f534ed45df2d9c8c418676058851c48878d2ed..e96737cc1c2597e496c09e72cdf778aff358c1cc 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp
|
| @@ -50,6 +50,8 @@ void SVGMaskPainter::drawMaskForLayoutObject(GraphicsContext& context, const Lay
|
| {
|
| AffineTransform contentTransformation;
|
| RefPtr<const SkPicture> maskContentPicture = m_mask.createContentPicture(contentTransformation, targetBoundingBox, context);
|
| + if (!maskContentPicture)
|
| + return;
|
|
|
| if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(context, layoutObject, DisplayItem::SVGMask))
|
| return;
|
|
|