FontCache should only deal with SimpleFontData
[WebKit-https.git] / Source / WebCore / platform / graphics / mac / FontMac.mm
index ded20a9..fa11790 100644 (file)
@@ -528,7 +528,7 @@ void MacGlyphToPathTranslator::advance()
 
 DashArray Font::dashesForIntersectionsWithRect(const TextRun& run, const FloatPoint& textOrigin, const FloatRect& lineExtents) const
 {
-    if (loadingCustomFonts())
+    if (isLoadingCustomFonts())
         return DashArray();
 
     GlyphBuffer glyphBuffer;