Index: include/core/SkImageEncoder.h |
diff --git a/include/core/SkImageEncoder.h b/include/core/SkImageEncoder.h |
index 754d5bbbc3ad989c34fff0ceb3fcb8a650376e17..4d4d2a83c0f18a0bd31a8d42bd64d947703a8126 100644 |
--- a/include/core/SkImageEncoder.h |
+++ b/include/core/SkImageEncoder.h |
@@ -100,6 +100,10 @@ DECLARE_ENCODER_CREATOR(PNGImageEncoder); |
DECLARE_ENCODER_CREATOR(KTXImageEncoder); |
DECLARE_ENCODER_CREATOR(WEBPImageEncoder); |
+#ifdef SK_BUILD_FOR_IOS |
+DECLARE_ENCODER_CREATOR(PNGImageEncoder_IOS); |
+#endif |
+ |
// Typedef to make registering encoder callback easier |
// This has to be defined outside SkImageEncoder. :( |
typedef SkTRegistry<SkImageEncoder*(*)(SkImageEncoder::Type)> SkImageEncoder_EncodeReg; |