| Index: third_party/WebKit/Source/platform/graphics/Image.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| index 4b2a66f377e1da579e9983c0caef0f35a1726e48..ed58bd10ca9fa0e793a0eccd991e95c36dc51f0f 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| @@ -275,7 +275,8 @@ PassRefPtr<Image> Image::imageForDefaultFrame()
|
|
|
| bool Image::isTextureBacked()
|
| {
|
| - return imageForCurrentFrame()->isTextureBacked();
|
| + RefPtr<SkImage> image = imageForCurrentFrame();
|
| + return image ? image->isTextureBacked() : false;
|
| }
|
|
|
| } // namespace blink
|
|
|