Index: src/codec/SkCodec_libgif.cpp |
diff --git a/src/codec/SkCodec_libgif.cpp b/src/codec/SkCodec_libgif.cpp |
index 018789155879f6ee7c38a7140567bbc5a112516a..c8a12f9d7dee5bf86107ffd5e70e7fce372dca92 100644 |
--- a/src/codec/SkCodec_libgif.cpp |
+++ b/src/codec/SkCodec_libgif.cpp |
@@ -237,6 +237,7 @@ SkGifCodec::SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType |
: INHERITED(srcInfo, stream) |
, fGif(gif) |
, fSrcBuffer(new uint8_t[this->getInfo().width()]) |
+ , fFrameRect(frameRect) |
// If it is valid, fTransIndex will be used to set fFillIndex. We don't know if |
// fTransIndex is valid until we process the color table, since fTransIndex may |
// be greater than the size of the color table. |
@@ -244,10 +245,9 @@ SkGifCodec::SkGifCodec(const SkImageInfo& srcInfo, SkStream* stream, GifFileType |
// Default fFillIndex is 0. We will overwrite this if fTransIndex is valid, or if |
// there is a valid background color. |
, fFillIndex(0) |
- , fFrameRect(frameRect) |
, fFrameIsSubset(frameIsSubset) |
- , fColorTable(NULL) |
, fSwizzler(NULL) |
+ , fColorTable(NULL) |
{} |
bool SkGifCodec::onRewind() { |