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