| Index: Source/platform/image-decoders/ImageFrame.cpp
|
| diff --git a/Source/platform/image-decoders/ImageFrame.cpp b/Source/platform/image-decoders/ImageFrame.cpp
|
| index f6d6e67bc94bc1f31ee92faf9b6485dc7eb62f9e..9363148fbff1dd19894519795717d92567b288b8 100644
|
| --- a/Source/platform/image-decoders/ImageFrame.cpp
|
| +++ b/Source/platform/image-decoders/ImageFrame.cpp
|
| @@ -100,7 +100,7 @@ bool ImageFrame::copyBitmapData(const ImageFrame& other)
|
| m_hasAlpha = other.m_hasAlpha;
|
| m_bitmap->bitmap().reset();
|
| const NativeImageSkia* otherBitmap = other.m_bitmap.get();
|
| - return otherBitmap->bitmap().copyTo(&m_bitmap->bitmap(), otherBitmap->bitmap().config());
|
| + return otherBitmap->bitmap().copyTo(&m_bitmap->bitmap(), otherBitmap->bitmap().colorType());
|
| }
|
|
|
| bool ImageFrame::setSize(int newWidth, int newHeight)
|
|
|