Index: src/images/SkImageDecoder_FactoryDefault.cpp |
diff --git a/src/images/SkImageDecoder_FactoryDefault.cpp b/src/images/SkImageDecoder_FactoryDefault.cpp |
index ef8ddda8304bb774efe7aa2f5e36c68bafdb8551..77c0a0ac578ffc3fd20bd8312472c08db91f05db 100644 |
--- a/src/images/SkImageDecoder_FactoryDefault.cpp |
+++ b/src/images/SkImageDecoder_FactoryDefault.cpp |
@@ -6,8 +6,17 @@ |
* found in the LICENSE file. |
*/ |
+#include "SkImageDecoder.h" |
#include "SkMovie.h" |
#include "SkStream.h" |
+ |
+extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*); |
+ |
+SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { |
+ return image_decoder_from_stream(stream); |
+} |
+ |
+///////////////////////////////////////////////////////////////////////// |
typedef SkTRegistry<SkMovie*(*)(SkStreamRewindable*)> MovieReg; |