Web Font is downloaded even when all the characters in the document are outside its...
[WebKit-https.git] / Source / WebCore / css / CSSFontFaceSet.cpp
index 9b7a7b6..24a6610 100644 (file)
@@ -238,6 +238,8 @@ void CSSFontFaceSet::remove(const CSSFontFace& face)
 
 void CSSFontFaceSet::clear()
 {
+    for (auto& face : m_faces)
+        face->removeClient(*this);
     m_faces.clear();
     m_facesLookupTable.clear();
     m_locallyInstalledFacesLookupTable.clear();