Index: src/codec/SkCodec_libpng.h |
diff --git a/src/codec/SkCodec_libpng.h b/src/codec/SkCodec_libpng.h |
index d21a131100cfaad0884c5b0316d38d5d1584b854..813712665d7a02d8cc03fdcf9e9e021ad5f40cce 100644 |
--- a/src/codec/SkCodec_libpng.h |
+++ b/src/codec/SkCodec_libpng.h |
@@ -47,10 +47,10 @@ 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&); |
+ size_t rowBytes, const Options&, int* ctableCount); |
// Calls rewindIfNeeded, and returns true if the decoder can continue. |
bool handleRewind(); |
- bool decodePalette(bool premultiply); |
+ bool decodePalette(bool premultiply, int bitDepth, int* ctableCount); |
void finish(); |
void destroyReadStruct(); |