| Index: src/codec/SkBmpMaskCodec.cpp
|
| diff --git a/src/codec/SkBmpMaskCodec.cpp b/src/codec/SkBmpMaskCodec.cpp
|
| index 336698d319d2e8f96c10a2b60da755040535f150..0f6df0b5715fb462033212993544cc771bb1644d 100644
|
| --- a/src/codec/SkBmpMaskCodec.cpp
|
| +++ b/src/codec/SkBmpMaskCodec.cpp
|
| @@ -60,8 +60,8 @@ SkCodec::Result SkBmpMaskCodec::onGetPixels(const SkImageInfo& dstInfo,
|
|
|
| bool SkBmpMaskCodec::initializeSwizzler(const SkImageInfo& dstInfo) {
|
| // Create the swizzler
|
| - fMaskSwizzler.reset(SkMaskSwizzler::CreateMaskSwizzler(
|
| - dstInfo, this->getInfo(), fMasks, this->bitsPerPixel()));
|
| + fMaskSwizzler.reset(SkMaskSwizzler::CreateMaskSwizzler(dstInfo, this->getInfo(), fMasks,
|
| + this->bitsPerPixel(), this->subsetLeft(), this->subsetWidth()));
|
|
|
| if (nullptr == fMaskSwizzler.get()) {
|
| return false;
|
|
|