Index: src/codec/SkGifCodec.cpp |
diff --git a/src/codec/SkGifCodec.cpp b/src/codec/SkGifCodec.cpp |
index dcc25b8dfd83986724deec6ae9d86b141a46db24..75e9d63fa72ad3e6099341db39eb7de376d0b470 100644 |
--- a/src/codec/SkGifCodec.cpp |
+++ b/src/codec/SkGifCodec.cpp |
@@ -520,7 +520,7 @@ |
SkCodec::Result SkGifCodec::onStartScanlineDecode(const SkImageInfo& dstInfo, |
const SkCodec::Options& opts, SkPMColor inputColorPtr[], int* inputColorCount) { |
- return this->prepareToDecode(dstInfo, inputColorPtr, inputColorCount, opts); |
+ return this->prepareToDecode(dstInfo, inputColorPtr, inputColorCount, this->options()); |
} |
void SkGifCodec::handleScanlineFrame(int count, int* rowsBeforeFrame, int* rowsInFrame) { |