| Index: src/images/SkImageDecoder_libgif.cpp
|
| diff --git a/src/images/SkImageDecoder_libgif.cpp b/src/images/SkImageDecoder_libgif.cpp
|
| index c86daf3ea3750d417faf28c8b4d7757fde99cdf7..b0ed81037302aff2c4d1c1debbe5a33318490faa 100644
|
| --- a/src/images/SkImageDecoder_libgif.cpp
|
| +++ b/src/images/SkImageDecoder_libgif.cpp
|
| @@ -477,8 +477,8 @@ SkImageDecoder::Result SkGIFImageDecoder::onDecode(SkStream* sk_stream, SkBitmap
|
| if (AddExtensionBlock(&temp_save, extData[0],
|
| &extData[1]) == GIF_ERROR) {
|
| #else
|
| - if (GifAddExtensionBlock(&gif->ExtensionBlockCount,
|
| - &gif->ExtensionBlocks,
|
| + if (GifAddExtensionBlock(&temp_save.ExtensionBlockCount,
|
| + &temp_save.ExtensionBlocks,
|
| extFunction,
|
| extData[0],
|
| &extData[1]) == GIF_ERROR) {
|
|
|