| Index: Source/platform/graphics/BitmapImage.cpp
|
| diff --git a/Source/platform/graphics/BitmapImage.cpp b/Source/platform/graphics/BitmapImage.cpp
|
| index a3e6d84a5dcb945ec4eec9e51f428c7542ad4b7d..92bbbd0dbc9f4e39f427fcddcbcaef1505b27ea0 100644
|
| --- a/Source/platform/graphics/BitmapImage.cpp
|
| +++ b/Source/platform/graphics/BitmapImage.cpp
|
| @@ -370,7 +370,7 @@ PassRefPtr<NativeImageSkia> BitmapImage::nativeImageForCurrentFrame()
|
|
|
| PassRefPtr<Image> BitmapImage::imageForDefaultFrame()
|
| {
|
| - if (frameCount() > 1)
|
| + if (frameCount() > 1 && frameAtIndex(0))
|
| return BitmapImage::create(frameAtIndex(0));
|
|
|
| return Image::imageForDefaultFrame();
|
|
|