Index: include/codec/SkCodec.h |
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h |
index beb9cb97b32bdb51bed7cc4d76d24b968fe0858d..658c717cb44dc87901fb91a8b63dd9c31c250445 100644 |
--- a/include/codec/SkCodec.h |
+++ b/include/codec/SkCodec.h |
@@ -83,6 +83,15 @@ protected: |
* kCouldNotRewind. |
*/ |
bool SK_WARN_UNUSED_RESULT rewindIfNeeded(); |
+ |
+ /* |
+ * |
+ * Get method for the input stream |
+ * |
+ */ |
+ SkStream* stream() { |
+ return fStream.get(); |
+ } |
private: |
const SkImageInfo fInfo; |