| Index: src/codec/SkCodec_libgif.cpp
|
| diff --git a/src/codec/SkCodec_libgif.cpp b/src/codec/SkCodec_libgif.cpp
|
| index cf935777d18ef2ad6fd388ee80055166a7042e7d..fcebb804eb5a984907ec6c87ce7156fb570b8c2e 100644
|
| --- a/src/codec/SkCodec_libgif.cpp
|
| +++ b/src/codec/SkCodec_libgif.cpp
|
| @@ -442,11 +442,12 @@ SkCodec::Result SkGifCodec::onGetPixels(const SkImageInfo& dstInfo,
|
| // Create the subset swizzler
|
| swizzler.reset(SkSwizzler::CreateSwizzler(
|
| SkSwizzler::kIndex, colorTable, subsetDstInfo,
|
| - zeroInit));
|
| + zeroInit, this->getInfo().width()));
|
| } else {
|
| // Create the fully dimensional swizzler
|
| swizzler.reset(SkSwizzler::CreateSwizzler(
|
| - SkSwizzler::kIndex, colorTable, dstInfo, zeroInit));
|
| + SkSwizzler::kIndex, colorTable, dstInfo,
|
| + zeroInit, this->getInfo().width()));
|
| }
|
|
|
| // Stores output from dgiflib and input to the swizzler
|
|
|