Index: src/images/SkImageDecoder_wbmp.cpp |
diff --git a/src/images/SkImageDecoder_wbmp.cpp b/src/images/SkImageDecoder_wbmp.cpp |
index 0bf138940da8a50242aab08ea8a3384245eb6e3a..ddb7c3df026287d76b3632e5623fab630cf2e25d 100644 |
--- a/src/images/SkImageDecoder_wbmp.cpp |
+++ b/src/images/SkImageDecoder_wbmp.cpp |
@@ -119,7 +119,7 @@ bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, |
} |
const SkPMColor colors[] = { SK_ColorBLACK, SK_ColorWHITE }; |
- SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2)); |
+ SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2, kOpaque_SkAlphaType)); |
SkAutoUnref aur(ct); |
if (!this->allocPixelRef(decodedBitmap, ct)) { |