| Index: Source/platform/graphics/ImageFrameGenerator.cpp
|
| diff --git a/Source/platform/graphics/ImageFrameGenerator.cpp b/Source/platform/graphics/ImageFrameGenerator.cpp
|
| index cce8f3c285e5903d019bb18891f28ff001fda96b..dcb73e4c54858b8acc485aefe63fec79134e7897 100644
|
| --- a/Source/platform/graphics/ImageFrameGenerator.cpp
|
| +++ b/Source/platform/graphics/ImageFrameGenerator.cpp
|
| @@ -313,7 +313,7 @@ PassOwnPtr<ScaledImageFragment> ImageFrameGenerator::decode(size_t index, ImageD
|
| // This is confusing and should be cleaned up when we can deprecate the use
|
| // case for Android discardable memory.
|
| SkBitmap copyBitmap;
|
| - if (!fullSizeBitmap.copyTo(©Bitmap, fullSizeBitmap.config(), m_discardableAllocator.get()))
|
| + if (!fullSizeBitmap.copyTo(©Bitmap, fullSizeBitmap.colorType(), m_discardableAllocator.get()))
|
| return nullptr;
|
|
|
| if (isCacheComplete)
|
|
|