FontCache should only deal with SimpleFontData
[WebKit-https.git] / Source / WebCore / platform / graphics / cairo / FontCairo.cpp
index a4c3403..825eed1 100644 (file)
@@ -292,7 +292,7 @@ void CairoGlyphToPathTranslator::advance()
 
 DashArray Font::dashesForIntersectionsWithRect(const TextRun& run, const FloatPoint& textOrigin, const FloatRect& lineExtents) const
 {
-    if (loadingCustomFonts())
+    if (isLoadingCustomFonts())
         return DashArray();
 
     GlyphBuffer glyphBuffer;