Index: src/images/SkImageDecoder_libbmp.cpp |
diff --git a/src/images/SkImageDecoder_libbmp.cpp b/src/images/SkImageDecoder_libbmp.cpp |
index 73e7a2014459417e713673e5ab64a55726153bbf..2edd57c0d17fa0dc4edd624be58151a67d90c311 100644 |
--- a/src/images/SkImageDecoder_libbmp.cpp |
+++ b/src/images/SkImageDecoder_libbmp.cpp |
@@ -14,7 +14,6 @@ |
#include "SkStream.h" |
#include "SkStreamHelpers.h" |
#include "SkTDArray.h" |
-#include "SkTRegistry.h" |
class SkBMPImageDecoder : public SkImageDecoder { |
public: |
@@ -52,7 +51,7 @@ static SkImageDecoder* sk_libbmp_dfactory(SkStream* stream) { |
return NULL; |
} |
-static SkTRegistry<SkImageDecoder*, SkStream*> gReg(sk_libbmp_dfactory); |
+static SkImageDecoder_DecodeReg gReg(sk_libbmp_dfactory); |
static SkImageDecoder::Format get_format_bmp(SkStream* stream) { |
if (is_bmp(stream)) { |
@@ -61,7 +60,7 @@ static SkImageDecoder::Format get_format_bmp(SkStream* stream) { |
return SkImageDecoder::kUnknown_Format; |
} |
-static SkTRegistry<SkImageDecoder::Format, SkStream*> gFormatReg(get_format_bmp); |
+static SkImageDecoder_FormatReg gFormatReg(get_format_bmp); |
/////////////////////////////////////////////////////////////////////////////// |