Index: include/images/SkImageRef_GlobalPool.h |
diff --git a/include/images/SkImageRef_GlobalPool.h b/include/images/SkImageRef_GlobalPool.h |
index 914b0eb4350d7b0f36ffcc88aa5c6db3b1a79646..3adc0f61503ef2ac22360e3dce582e26f0e75612 100644 |
--- a/include/images/SkImageRef_GlobalPool.h |
+++ b/include/images/SkImageRef_GlobalPool.h |
@@ -15,7 +15,8 @@ |
class SkImageRef_GlobalPool : public SkImageRef { |
public: |
// if pool is null, use the global pool |
- SkImageRef_GlobalPool(SkStream*, SkBitmap::Config, int sampleSize = 1); |
+ SkImageRef_GlobalPool(SkStreamRewindable*, SkBitmap::Config, |
+ int sampleSize = 1); |
virtual ~SkImageRef_GlobalPool(); |
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkImageRef_GlobalPool) |
@@ -46,7 +47,7 @@ public: |
static void DumpPool(); |
protected: |
- virtual bool onDecode(SkImageDecoder* codec, SkStream* stream, |
+ virtual bool onDecode(SkImageDecoder* codec, SkStreamRewindable* stream, |
SkBitmap* bitmap, SkBitmap::Config config, |
SkImageDecoder::Mode mode); |