| Index: Source/platform/graphics/ImageSource.cpp
|
| diff --git a/Source/platform/graphics/ImageSource.cpp b/Source/platform/graphics/ImageSource.cpp
|
| index e8c9ca0088d7a95f07e43ea47f20fb09fef5fbec..adaeeca00de91f3a727cd251dd039835668a8985 100644
|
| --- a/Source/platform/graphics/ImageSource.cpp
|
| +++ b/Source/platform/graphics/ImageSource.cpp
|
| @@ -107,11 +107,12 @@ 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;
|
| + *bitmap = m_decoder->createFrameAtIndex(index);
|
| + return true;
|
| }
|
|
|
| float ImageSource::frameDurationAtIndex(size_t index) const
|
|
|