aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkCodec_libgif.h
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2015-09-30 09:15:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-30 09:15:14 -0700
commit3a7701c0101386ba05acdde6f911be0c2696f317 (patch)
treecf32920b67df2f2553cb22d1fe420c9bab45d4c5 /src/codec/SkCodec_libgif.h
parent46c574725676b26ada63ac15e42cda309dcd5090 (diff)
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
Diffstat (limited to 'src/codec/SkCodec_libgif.h')
-rw-r--r--src/codec/SkCodec_libgif.h2
1 files changed, 1 insertions, 1 deletions
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,