Index: Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
index 7ae178c9090d0a7a7e5fea86d97c77253e7ca14a..7ce9edaadd02a441e1f7379b26c5103a5e7e353f 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResourceFilter.cpp |
@@ -131,6 +131,8 @@ static bool createImageBuffer(const Filter* filter, OwnPtr<ImageBuffer>& imageBu |
if (!surface->isValid()) |
return false; |
OwnPtr<ImageBuffer> image = ImageBuffer::create(surface.release()); |
+ if (!image) |
Stephen White
2014/09/12 19:12:20
This change seems harmless, but note that this cod
sivag
2014/09/12 20:52:06
Thanks Stephen. Please let me know if some changes
|
+ return false; |
GraphicsContext* imageContext = image->context(); |
ASSERT(imageContext); |