| Index: include/codec/SkCodec.h
|
| diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
|
| index 01fd4fa62a0a2aeeb40f337200518a30bab80f60..c0cce853a3aa07e36668bb497883bed2da4b1515 100644
|
| --- a/include/codec/SkCodec.h
|
| +++ b/include/codec/SkCodec.h
|
| @@ -402,9 +402,8 @@ protected:
|
| * @returns true if the codec is at the right position and can be used.
|
| * false if there was a failure to rewind.
|
| *
|
| - * Subclasses MUST call this function before reading the stream (e.g. in
|
| - * onGetPixels). If it returns false, onGetPixels should return
|
| - * kCouldNotRewind.
|
| + * This is called by getPixels() and start(). Subclasses may call if they
|
| + * need to rewind at another time.
|
| */
|
| bool SK_WARN_UNUSED_RESULT rewindIfNeeded();
|
|
|
|
|