Index: src/codec/SkCodec_libpng.h |
diff --git a/src/codec/SkCodec_libpng.h b/src/codec/SkCodec_libpng.h |
index 527efb75b70e8eaaa83dd0b6948737585562556c..103839b314d5f899ea110bf62997e85595f4fe9a 100644 |
--- a/src/codec/SkCodec_libpng.h |
+++ b/src/codec/SkCodec_libpng.h |
@@ -50,6 +50,8 @@ private: |
// Helper to set up swizzler and color table. Also calls png_read_update_info. |
Result initializeSwizzler(const SkImageInfo& requestedInfo, void* dst, |
size_t rowBytes, const Options&); |
+ // Calls rewindIfNeeded, and returns true if the decoder can continue. |
+ bool handleRewind(); |
bool decodePalette(bool premultiply); |
void finish(); |
void destroyReadStruct(); |