Index: Source/platform/image-decoders/ImageFrame.cpp |
diff --git a/Source/platform/image-decoders/ImageFrame.cpp b/Source/platform/image-decoders/ImageFrame.cpp |
index 9363148fbff1dd19894519795717d92567b288b8..8f3308b35a7b6977cb5c0ddf6a42a5941a523df8 100644 |
--- a/Source/platform/image-decoders/ImageFrame.cpp |
+++ b/Source/platform/image-decoders/ImageFrame.cpp |
@@ -108,7 +108,7 @@ bool ImageFrame::setSize(int newWidth, int newHeight) |
// setSize() should only be called once, it leaks memory otherwise. |
ASSERT(!width() && !height()); |
- m_bitmap->bitmap().setConfig(SkBitmap::kARGB_8888_Config, newWidth, newHeight); |
+ m_bitmap->bitmap().setConfig(SkImageInfo::MakeN32Premul(newWidth, newHeight)); |
if (!m_bitmap->bitmap().allocPixels(m_allocator, 0)) |
return false; |