Index: include/core/SkImageEncoder.h |
diff --git a/include/core/SkImageEncoder.h b/include/core/SkImageEncoder.h |
index 1ccfae0bf9ee1e82405bc4ef4a1dce7d4210983a..bb3341f836ec330b6b04fa0baf51c6021a83afdc 100644 |
--- a/include/core/SkImageEncoder.h |
+++ b/include/core/SkImageEncoder.h |
@@ -110,12 +110,8 @@ |
DECLARE_ENCODER_CREATOR(KTXImageEncoder); |
DECLARE_ENCODER_CREATOR(WEBPImageEncoder); |
-#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); |
+#ifdef SK_BUILD_FOR_IOS |
+DECLARE_ENCODER_CREATOR(PNGImageEncoder_IOS); |
#endif |
// Typedef to make registering encoder callback easier |