| Index: include/codec/SkCodec.h
|
| diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
|
| index 5a69d1367d69444423c736cbbfbfc0e259c6180f..cb616ccc030dfc119e0ac47ac3d357a4a49b3f02 100644
|
| --- a/include/codec/SkCodec.h
|
| +++ b/include/codec/SkCodec.h
|
| @@ -144,11 +144,13 @@ protected:
|
| * - if the stream did not need to be rewound.
|
| * false
|
| * - if the stream needed to be rewound, and rewind failed.
|
| + * @param didTryToRewind iff non-NULL, will be set.
|
| + *
|
| * Subclasses MUST call this function before reading the stream (e.g. in
|
| * onGetPixels). If it returns false, onGetPixels should return
|
| * kCouldNotRewind.
|
| */
|
| - bool SK_WARN_UNUSED_RESULT rewindIfNeeded();
|
| + bool SK_WARN_UNUSED_RESULT rewindIfNeeded(bool* didTryToRewind = NULL);
|
|
|
| /*
|
| *
|
|
|