| Index: Source/core/css/CSSFontSelector.cpp
|
| diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
|
| index 5ff2d00ac56d4a8157bfb853f548a7dcb59d96c0..1de90bee88fb2d815a29e6b6d003197a90e84334 100644
|
| --- a/Source/core/css/CSSFontSelector.cpp
|
| +++ b/Source/core/css/CSSFontSelector.cpp
|
| @@ -121,7 +121,9 @@ CSSFontSelector::CSSFontSelector(Document* document)
|
| CSSFontSelector::~CSSFontSelector()
|
| {
|
| clearDocument();
|
| +#if !ENABLE(OILPAN)
|
| FontCache::fontCache()->removeClient(this);
|
| +#endif
|
| }
|
|
|
| void CSSFontSelector::registerForInvalidationCallbacks(CSSFontSelectorClient* client)
|
| @@ -227,4 +229,11 @@ void CSSFontSelector::updateGenericFontFamilySettings(Document& document)
|
| m_genericFontFamilySettings = document.settings()->genericFontFamilySettings();
|
| }
|
|
|
| +void CSSFontSelector::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_fontFaceCache);
|
| + visitor->trace(m_clients);
|
| + visitor->trace(m_fontLoader);
|
| +}
|
| +
|
| }
|
|
|