Index: src/images/SkImageDecoder_FactoryDefault.cpp |
diff --git a/src/images/SkImageDecoder_FactoryDefault.cpp b/src/images/SkImageDecoder_FactoryDefault.cpp |
index 565519acc8daab83112f947472cff340a6cff06d..247f57180028cf7051d55fa2ac73130ab8ca0fe6 100644 |
--- a/src/images/SkImageDecoder_FactoryDefault.cpp |
+++ b/src/images/SkImageDecoder_FactoryDefault.cpp |
@@ -9,7 +9,6 @@ |
#include "SkImageDecoder.h" |
#include "SkMovie.h" |
#include "SkStream.h" |
-#include "SkTRegistry.h" |
extern SkImageDecoder* image_decoder_from_stream(SkStream*); |
@@ -19,7 +18,7 @@ SkImageDecoder* SkImageDecoder::Factory(SkStream* stream) { |
///////////////////////////////////////////////////////////////////////// |
-typedef SkTRegistry<SkMovie*, SkStream*> MovieReg; |
+typedef SkTRegistry<SkMovie*(*)(SkStream*)> MovieReg; |
SkMovie* SkMovie::DecodeStream(SkStream* stream) { |
const MovieReg* curr = MovieReg::Head(); |