FontCache should only deal with SimpleFontData
[WebKit-https.git] / Source / WebCore / platform / graphics / Font.h
index 16ff611..212b555 100644 (file)
@@ -289,10 +289,7 @@ public:
     FontGlyphs* glyphs() const { return m_glyphs.get(); }
 
 private:
-    bool loadingCustomFonts() const
-    {
-        return m_glyphs && m_glyphs->loadingCustomFonts();
-    }
+    bool isLoadingCustomFonts() const;
 
     TypesettingFeatures computeTypesettingFeatures() const
     {