Index: Source/platform/graphics/ImageSource.cpp |
diff --git a/Source/platform/graphics/ImageSource.cpp b/Source/platform/graphics/ImageSource.cpp |
index e8c9ca0088d7a95f07e43ea47f20fb09fef5fbec..6d308d49ae95e04726a0a59d03d4ab0ff3861b3a 100644 |
--- a/Source/platform/graphics/ImageSource.cpp |
+++ b/Source/platform/graphics/ImageSource.cpp |
@@ -107,10 +107,10 @@ size_t ImageSource::frameCount() const |
return count; |
} |
-PassRefPtr<NativeImageSkia> ImageSource::createFrameAtIndex(size_t index) |
+SkBitmap ImageSource::createFrameAtIndex(size_t index) |
{ |
if (!m_decoder) |
- return nullptr; |
+ return SkBitmap(); |
return m_decoder->createFrameAtIndex(index); |
} |