Index: core/fxge/ge/fx_ge_font.cpp |
diff --git a/core/fxge/ge/fx_ge_font.cpp b/core/fxge/ge/fx_ge_font.cpp |
index fd6f8a2cf803ead6ea89d97b96ab22e2df52d6f8..bd0bb0e3e52f56f46b917d276e095e9787d38a17 100644 |
--- a/core/fxge/ge/fx_ge_font.cpp |
+++ b/core/fxge/ge/fx_ge_font.cpp |
@@ -118,7 +118,7 @@ CFX_Font::~CFX_Font() { |
FX_Free(m_pOwnedStream); |
#endif // PDF_ENABLE_XFA |
FX_Free(m_pGsubData); |
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
+#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ && !defined _SKIA_SUPPORT_ |
ReleasePlatformResource(); |
#endif |
} |