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