From 3a7701c0101386ba05acdde6f911be0c2696f317 Mon Sep 17 00:00:00 2001 From: scroggo Date: Wed, 30 Sep 2015 09:15:14 -0700 Subject: Call rewindIfNeeded in SkCodec Rather than calling it in each subclass, call it once in the base class. Call it first, since other steps may modify internal structures which would be replaced by a call to onRewind. BUG=skia:4284 Review URL: https://codereview.chromium.org/1381483002 --- src/codec/SkCodec_libgif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codec/SkCodec_libgif.h') diff --git a/src/codec/SkCodec_libgif.h b/src/codec/SkCodec_libgif.h index 3999c41ede..d7dc2b9e1d 100644 --- a/src/codec/SkCodec_libgif.h +++ b/src/codec/SkCodec_libgif.h @@ -108,7 +108,7 @@ private: int* inputColorCount); /* - * Checks for invalid inputs and calls rewindIfNeeded(), setFramDimensions(), and + * Checks for invalid inputs and calls setFrameDimensions(), and * initializeColorTable() in the proper sequence. */ Result prepareToDecode(const SkImageInfo& dstInfo, SkPMColor* inputColorPtr, -- cgit v1.2.3