Index: src/images/SkImageDecoder_libpng.cpp |
diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp |
index 501a0d69f7f2f571eeee30d4ef9ea0a959dda52b..efa4595545709a7b5de1063b6d5a66b23609f38a 100644 |
--- a/src/images/SkImageDecoder_libpng.cpp |
+++ b/src/images/SkImageDecoder_libpng.cpp |
@@ -1086,11 +1086,6 @@ DEFINE_ENCODER_CREATOR(PNGImageEncoder); |
#include "SkTRegistry.h" |
-#ifdef SK_ENABLE_LIBPNG |
- SkImageDecoder* sk_libpng_dfactory(SkStream*); |
- SkImageEncoder* sk_libpng_efactory(SkImageEncoder::Type); |
-#endif |
- |
SkImageDecoder* sk_libpng_dfactory(SkStream* stream) { |
char buf[PNG_BYTES_TO_CHECK]; |
if (stream->read(buf, PNG_BYTES_TO_CHECK) == PNG_BYTES_TO_CHECK && |