#include "platform/fonts/SimpleFontData.h"
#include "wtf/text/AtomicString.h"
-namespace WebCore {
+namespace blink {
CSSFontSelector::CSSFontSelector(Document* document)
: m_document(document)
{
m_fontLoader->clearResourceFetcherAndFontSelector();
m_document = nullptr;
+ m_fontFaceCache.clearAll();
}
#endif
void CSSFontSelector::trace(Visitor* visitor)
{
+#if ENABLE(OILPAN)
visitor->trace(m_document);
visitor->trace(m_fontFaceCache);
visitor->trace(m_clients);
visitor->trace(m_fontLoader);
+#endif
FontSelector::trace(visitor);
}