Index: include/core/SkImageEncoder.h |
diff --git a/include/core/SkImageEncoder.h b/include/core/SkImageEncoder.h |
index bb3341f836ec330b6b04fa0baf51c6021a83afdc..1ccfae0bf9ee1e82405bc4ef4a1dce7d4210983a 100644 |
--- a/include/core/SkImageEncoder.h |
+++ b/include/core/SkImageEncoder.h |
@@ -110,8 +110,12 @@ DECLARE_ENCODER_CREATOR(PNGImageEncoder); |
DECLARE_ENCODER_CREATOR(KTXImageEncoder); |
DECLARE_ENCODER_CREATOR(WEBPImageEncoder); |
-#ifdef SK_BUILD_FOR_IOS |
-DECLARE_ENCODER_CREATOR(PNGImageEncoder_IOS); |
+#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
+DECLARE_ENCODER_CREATOR(PNGImageEncoder_CG); |
+#endif |
+ |
+#if defined(SK_BUILD_FOR_WIN) |
+DECLARE_ENCODER_CREATOR(ImageEncoder_WIC); |
#endif |
// Typedef to make registering encoder callback easier |