diff options
author | 2016-06-06 11:48:05 -0700 | |
---|---|---|
committer | 2016-06-06 11:48:05 -0700 | |
commit | 53180c9866f2af22d30a01e05f85645db388b0cf (patch) | |
tree | f054e9a6b4eb17a5f0d7ae0f5c7e5bb4cfc7065d /src/codec | |
parent | d8d6855345b486d2ec03047497da2036ccea3eb7 (diff) |
Use Options object passed to startScanlineDecode
This->options() has not been updated to include the latest settings.
Originally brought up in crrev.com/1997703003, which has been reverted.
This is not really related to that change anyway, so separating it out.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2046493004
Review-Url: https://codereview.chromium.org/2046493004
Diffstat (limited to 'src/codec')
-rw-r--r-- | src/codec/SkGifCodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codec/SkGifCodec.cpp b/src/codec/SkGifCodec.cpp index 75e9d63fa7..dcc25b8dfd 100644 --- a/src/codec/SkGifCodec.cpp +++ b/src/codec/SkGifCodec.cpp @@ -520,7 +520,7 @@ uint32_t SkGifCodec::onGetFillValue(SkColorType colorType) const { SkCodec::Result SkGifCodec::onStartScanlineDecode(const SkImageInfo& dstInfo, const SkCodec::Options& opts, SkPMColor inputColorPtr[], int* inputColorCount) { - return this->prepareToDecode(dstInfo, inputColorPtr, inputColorCount, this->options()); + return this->prepareToDecode(dstInfo, inputColorPtr, inputColorCount, opts); } void SkGifCodec::handleScanlineFrame(int count, int* rowsBeforeFrame, int* rowsInFrame) { |