Index: src/codec/SkJpegCodec.h |
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
index d3ea132da72bb71ca517ade04ddeaf3ff38810af..f8cddd0221ae05c9ce6b9a39de906ddb69bf6923 100644 |
--- a/src/codec/SkJpegCodec.h |
+++ b/src/codec/SkJpegCodec.h |
@@ -86,13 +86,13 @@ private: |
* Creates an instance of the decoder |
* Called only by NewFromStream |
* |
- * @param srcInfo contains the source width and height |
+ * @param info contains properties of the encoded data |
* @param stream the encoded image data |
* @param decoderMgr holds decompress struct, src manager, and error manager |
* takes ownership |
*/ |
- SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, JpegDecoderMgr* decoderMgr, |
- sk_sp<SkColorSpace> colorSpace, Origin origin); |
+ SkJpegCodec(int width, int height, const SkEncodedInfo& info, SkStream* stream, |
+ JpegDecoderMgr* decoderMgr, sk_sp<SkColorSpace> colorSpace, Origin origin); |
/* |
* Checks if the conversion between the input image and the requested output |