Index: Source/platform/image-decoders/png/PNGImageDecoder.h |
diff --git a/Source/platform/image-decoders/png/PNGImageDecoder.h b/Source/platform/image-decoders/png/PNGImageDecoder.h |
index 7f54c2e360725981b96c9c96ce4cb6b331a77995..88257407ad046bddc34f8fd5f60a1b724d96514e 100644 |
--- a/Source/platform/image-decoders/png/PNGImageDecoder.h |
+++ b/Source/platform/image-decoders/png/PNGImageDecoder.h |
@@ -37,7 +37,7 @@ class PNGImageReader; |
class PLATFORM_EXPORT PNGImageDecoder : public ImageDecoder { |
WTF_MAKE_NONCOPYABLE(PNGImageDecoder); |
public: |
- PNGImageDecoder(AlphaOption, GammaAndColorProfileOption, size_t maxDecodedBytes); |
+ PNGImageDecoder(AlphaOption, GammaAndColorProfileOption, size_t maxDecodedBytes, unsigned offset = 0); |
~PNGImageDecoder() override; |
// ImageDecoder: |
@@ -61,6 +61,7 @@ private: |
OwnPtr<PNGImageReader> m_reader; |
bool m_hasColorProfile; |
+ const unsigned m_offset; |
}; |
} // namespace blink |