Index: src/images/SkForceLinking.cpp |
diff --git a/src/images/SkForceLinking.cpp b/src/images/SkForceLinking.cpp |
index 2c9a38979ac00e3d6a853abc1385a21f17c34bcd..442f0f77c0015bb31cd8482804784a75272b17b8 100644 |
--- a/src/images/SkForceLinking.cpp |
+++ b/src/images/SkForceLinking.cpp |
@@ -29,6 +29,9 @@ int SkForceLinking(bool doNotPassTrue) { |
#if !defined(SK_BUILD_FOR_MAC) && !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_IOS) |
CreatePNGImageDecoder(); |
#endif |
+#if defined(SK_BUILD_FOR_IOS) |
+ CreatePNGImageEncoder_IOS(); |
+#endif |
return -1; |
} |
return 0; |