summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSFontFaceSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/css/CSSFontFaceSource.cpp')
-rw-r--r--WebCore/css/CSSFontFaceSource.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/WebCore/css/CSSFontFaceSource.cpp b/WebCore/css/CSSFontFaceSource.cpp
index aa09b05..d5dc6ec 100644
--- a/WebCore/css/CSSFontFaceSource.cpp
+++ b/WebCore/css/CSSFontFaceSource.cpp
@@ -92,12 +92,7 @@ bool CSSFontFaceSource::isValid() const
void CSSFontFaceSource::fontLoaded(CachedFont*)
{
- // On Android, rendering and font loading occur on separate threads, so
- // pruning from here can leave dangling refs to deleted GlyphPageTreeNodes.
- // Pruning will still occur via ~CSSSegmentedFontFace, when it's safe.
-#if !PLATFORM(ANDROID)
- pruneTable();
-#endif
+ pruneTable();
if (m_face)
m_face->fontLoaded(this);
}