Index: src/images/SkImageDecoder_FactoryDefault.cpp |
diff --git a/src/images/SkImageDecoder_FactoryDefault.cpp b/src/images/SkImageDecoder_FactoryDefault.cpp |
index 247f57180028cf7051d55fa2ac73130ab8ca0fe6..e959c8b69b8144ca0b501e77fd8d5a0e965e9a8a 100644 |
--- a/src/images/SkImageDecoder_FactoryDefault.cpp |
+++ b/src/images/SkImageDecoder_FactoryDefault.cpp |
@@ -10,17 +10,17 @@ |
#include "SkMovie.h" |
#include "SkStream.h" |
-extern SkImageDecoder* image_decoder_from_stream(SkStream*); |
+extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*); |
-SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { |
+SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { |
return image_decoder_from_stream(stream); |
} |
///////////////////////////////////////////////////////////////////////// |
-typedef SkTRegistry<SkMovie*(*)(SkStream*)> MovieReg; |
+typedef SkTRegistry<SkMovie*(*)(SkStreamRewindable*)> MovieReg; |
-SkMovie* SkMovie::DecodeStream(SkStream* stream) { |
+SkMovie* SkMovie::DecodeStream(SkStreamRewindable* stream) { |
const MovieReg* curr = MovieReg::Head(); |
while (curr) { |
SkMovie* movie = curr->factory()(stream); |