Index: src/codec/SkBmpStandardCodec.cpp |
diff --git a/src/codec/SkBmpStandardCodec.cpp b/src/codec/SkBmpStandardCodec.cpp |
index 39d357be8b0089c87a7f36b9f2027c1c9770a0c0..80a989ae4d6ea4b2be98a1147a76ace2214d1c76 100644 |
--- a/src/codec/SkBmpStandardCodec.cpp |
+++ b/src/codec/SkBmpStandardCodec.cpp |
@@ -228,7 +228,7 @@ int SkBmpStandardCodec::decodeRows(const SkImageInfo& dstInfo, void* dst, size_t |
fSwizzler->swizzle(dstRow, fSrcBuffer.get()); |
} |
- if (fInIco) { |
+ if (fInIco && fIsOpaque) { |
msarett
2016/03/22 13:49:04
There shouldn't be a transparency mask if the BMP
|
const int startScanline = this->currScanline(); |
if (startScanline < 0) { |
// We are not performing a scanline decode. |