[iOS] Ensure that GraphicsServices is initialized before calling GSFontPurgeFontCache().
[WebKit-https.git] / Source / WebCore / page / cocoa / MemoryReleaseCocoa.mm
index 5bf0f19..21b204f 100644 (file)
@@ -43,6 +43,8 @@ namespace WebCore {
 void platformReleaseMemory(Critical)
 {
 #if PLATFORM(IOS) && !PLATFORM(IOS_SIMULATOR)
+    // FIXME: Remove this call to GSFontInitialize() once <rdar://problem/32886715> is fixed.
+    GSFontInitialize();
     GSFontPurgeFontCache();
 #endif