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