Chromium Code Reviews| Index: src/images/SkImageDecoder_wbmp.cpp |
| diff --git a/src/images/SkImageDecoder_wbmp.cpp b/src/images/SkImageDecoder_wbmp.cpp |
| index ddb7c3df026287d76b3632e5623fab630cf2e25d..0bf138940da8a50242aab08ea8a3384245eb6e3a 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, kOpaque_SkAlphaType)); |
|
djsollen
2014/09/29 17:57:45
the gif and png decoders also passed an alphaType
reed1
2014/09/29 18:24:56
Done.
|
| + SkColorTable* ct = SkNEW_ARGS(SkColorTable, (colors, 2)); |
| SkAutoUnref aur(ct); |
| if (!this->allocPixelRef(decodedBitmap, ct)) { |