| Index: third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| index 5a1b25147f3bbf1f335b6ee5fcb8694eec06d51a..d74b90d51c43695124f27680b3d45e29f8bbb4d2 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.cpp
|
| @@ -48,6 +48,8 @@ void GeneratedImage::drawPattern(GraphicsContext& destContext, const FloatRect&
|
| builder.context().beginRecording(tileRect);
|
| drawTile(builder.context(), srcRect);
|
| RefPtr<SkPicture> tilePicture = builder.endRecording();
|
| + if (!tilePicture)
|
| + return;
|
|
|
| AffineTransform patternTransform;
|
| patternTransform.translate(phase.x(), phase.y());
|
|
|