Index: src/codec/SkWbmpCodec.cpp |
diff --git a/src/codec/SkWbmpCodec.cpp b/src/codec/SkWbmpCodec.cpp |
index 9a842ac91fe4bdbcfbcc319cbd28c0f4a6bd7ebf..1e165b4e1d6e6f426e19a64e7bd744dd4baeea8a 100644 |
--- a/src/codec/SkWbmpCodec.cpp |
+++ b/src/codec/SkWbmpCodec.cpp |
@@ -97,7 +97,7 @@ bool SkWbmpCodec::onRewind() { |
SkSwizzler* SkWbmpCodec::initializeSwizzler(const SkImageInfo& info, const SkPMColor* ctable, |
const Options& opts) { |
- return SkSwizzler::CreateSwizzler(SkSwizzler::kBit, ctable, info, opts); |
+ return SkSwizzler::CreateSwizzler(this->getEncodedInfo(), ctable, info, opts); |
} |
bool SkWbmpCodec::readRow(uint8_t* row) { |