diff options
Diffstat (limited to 'src/images/SkImageDecoder_wbmp.cpp')
-rw-r--r-- | src/images/SkImageDecoder_wbmp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/images/SkImageDecoder_wbmp.cpp b/src/images/SkImageDecoder_wbmp.cpp index 262cf547cd..a7d910f0bc 100644 --- a/src/images/SkImageDecoder_wbmp.cpp +++ b/src/images/SkImageDecoder_wbmp.cpp @@ -151,7 +151,7 @@ bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, #include "SkTRegistry.h" -SkImageDecoder* sk_wbmp_dfactory(SkStream* stream) { +static SkImageDecoder* Factory(SkStream* stream) { wbmp_head head; if (head.init(stream)) { @@ -160,5 +160,5 @@ SkImageDecoder* sk_wbmp_dfactory(SkStream* stream) { return NULL; } -static SkTRegistry<SkImageDecoder*, SkStream*> gReg(sk_wbmp_dfactory); +static SkTRegistry<SkImageDecoder*, SkStream*> gReg(Factory); |