Index: third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp |
index 099c7fc42ed311ed31e29be646decb453ef1bc42..1a4a97b82b0f4d754362fa63aed4d549b1a584a1 100644 |
--- a/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGenerator.cpp |
@@ -302,7 +302,7 @@ bool ImageFrameGenerator::decode(SegmentReader* data, bool allDataReceived, size |
// the latter case. |
const bool isDecodeComplete = frame->getStatus() == ImageFrame::FrameComplete || allDataReceived; |
- SkBitmap fullSizeBitmap = frame->bitmap(); |
+ SkBitmap fullSizeBitmap = frame->bitmap(false); |
if (!fullSizeBitmap.isNull()) { |
ASSERT(fullSizeBitmap.width() == m_fullSize.width() && fullSizeBitmap.height() == m_fullSize.height()); |
setHasAlpha(index, !fullSizeBitmap.isOpaque()); |