| Index: third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| index a32427a80f3fbbdebace7b7dad42e1bec109884c..57cf9fc3e277cc960759b5fb59daaf13d5ca1b6b 100644
|
| --- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
|
| @@ -178,6 +178,8 @@ PassRefPtr<SkImageFilter> FEImage::createImageFilterForLayoutObject(const Layout
|
| SVGPaintContext::paintSubtree(filterPicture.context(), &layoutObject);
|
| }
|
| RefPtr<const SkPicture> recording = filterPicture.endRecording();
|
| + if (!recording)
|
| + return nullptr;
|
|
|
| RefPtr<SkImageFilter> result = adoptRef(SkPictureImageFilter::Create(recording.get(), dstRect));
|
| return result.release();
|
|
|