Index: src/images/SkJpegUtility.h |
diff --git a/src/images/SkJpegUtility.h b/src/images/SkJpegUtility.h |
index 74f1a2104285f45349776e940ade2dad2eccca2c..69092ef1c38111a28a1496b16c4afb6ddd2ec642 100644 |
--- a/src/images/SkJpegUtility.h |
+++ b/src/images/SkJpegUtility.h |
@@ -34,13 +34,13 @@ void skjpeg_error_exit(j_common_ptr cinfo); |
/* Our source struct for directing jpeg to our stream object. |
*/ |
struct skjpeg_source_mgr : jpeg_source_mgr { |
- skjpeg_source_mgr(SkStream* stream, SkImageDecoder* decoder, bool ownStream); |
+ skjpeg_source_mgr(SkStream* stream, SkImageDecoder* decoder); |
~skjpeg_source_mgr(); |
- SkStream* fStream; |
- void* fMemoryBase; |
- size_t fMemoryBaseSize; |
- bool fUnrefStream; |
+ // fStream is ref'ed and unref'ed |
+ SkStream* fStream; |
+ // Unowned pointer to the decoder, used to check if the decoding process |
+ // has been cancelled. |
SkImageDecoder* fDecoder; |
enum { |
kBufferSize = 1024 |