Index: Source/WebCore/css/CSSFontSelector.cpp |
=================================================================== |
--- Source/WebCore/css/CSSFontSelector.cpp (revision 95343) |
+++ Source/WebCore/css/CSSFontSelector.cpp (working copy) |
@@ -379,6 +379,16 @@ |
dispatchInvalidationCallbacks(); |
} |
+void CSSFontSelector::retireCustomFont(FontData* fontData) |
+{ |
+ if (m_document) |
+ m_document->retireCustomFont(fontData); |
+ else { |
+ GlyphPageTreeNode::pruneTreeCustomFontData(fontData); |
+ delete fontData; |
+ } |
+} |
+ |
static FontData* fontDataForGenericFamily(Document* document, const FontDescription& fontDescription, const AtomicString& familyName) |
{ |
if (!document || !document->frame()) |