Index: src/images/SkImageDecoder_wbmp.cpp |
diff --git a/src/images/SkImageDecoder_wbmp.cpp b/src/images/SkImageDecoder_wbmp.cpp |
index 8b1659ba8de1d2f505853b6e84aae81c0f379958..9460d558994c06b8fad181837479863ea4dd8a22 100644 |
--- a/src/images/SkImageDecoder_wbmp.cpp |
+++ b/src/images/SkImageDecoder_wbmp.cpp |
@@ -152,8 +152,6 @@ bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, |
DEFINE_DECODER_CREATOR(WBMPImageDecoder); |
/////////////////////////////////////////////////////////////////////////////// |
-#include "SkTRegistry.h" |
- |
static SkImageDecoder* sk_wbmp_dfactory(SkStream* stream) { |
wbmp_head head; |
@@ -171,5 +169,5 @@ static SkImageDecoder::Format get_format_wbmp(SkStream* stream) { |
return SkImageDecoder::kUnknown_Format; |
} |
-static SkTRegistry<SkImageDecoder*, SkStream*> gReg(sk_wbmp_dfactory); |
-static SkTRegistry<SkImageDecoder::Format, SkStream*> gFormatReg(get_format_wbmp); |
+static SkImageDecoder_DecodeReg gDReg(sk_wbmp_dfactory); |
+static SkImageDecoder_FormatReg gFormatReg(get_format_wbmp); |