Index: Source/platform/graphics/ImageSource.cpp |
diff --git a/Source/platform/graphics/ImageSource.cpp b/Source/platform/graphics/ImageSource.cpp |
index e8c9ca0088d7a95f07e43ea47f20fb09fef5fbec..7fe50250be1c80711e6ead4d8f288e192dbcb9f8 100644 |
--- a/Source/platform/graphics/ImageSource.cpp |
+++ b/Source/platform/graphics/ImageSource.cpp |
@@ -107,11 +107,11 @@ size_t ImageSource::frameCount() const |
return count; |
} |
-PassRefPtr<NativeImageSkia> ImageSource::createFrameAtIndex(size_t index) |
+bool ImageSource::createFrameAtIndex(size_t index, SkBitmap* bitmap) |
{ |
if (!m_decoder) |
- return nullptr; |
- return m_decoder->createFrameAtIndex(index); |
+ return false; |
+ return m_decoder->createFrameAtIndex(index, bitmap); |
} |
float ImageSource::frameDurationAtIndex(size_t index) const |