| Index: Source/core/css/CSSFontSelector.cpp
|
| diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
|
| index 83306aa55fd9e0282385c80886d4a9336505fb56..28610dca89c3614d07309327933a22b492d4dd5c 100644
|
| --- a/Source/core/css/CSSFontSelector.cpp
|
| +++ b/Source/core/css/CSSFontSelector.cpp
|
| @@ -47,7 +47,7 @@ namespace WebCore {
|
|
|
| CSSFontSelector::CSSFontSelector(Document* document)
|
| : m_document(document)
|
| - , m_fontLoader(FontLoader::create(document->fetcher()))
|
| + , m_fontLoader(FontLoader::create(this, document->fetcher()))
|
| , m_genericFontFamilySettings(document->frame()->settings()->genericFontFamilySettings())
|
| {
|
| // FIXME: An old comment used to say there was no need to hold a reference to m_document
|
| @@ -160,7 +160,7 @@ bool CSSFontSelector::isPlatformFontAvailable(const FontDescription& fontDescrip
|
| #if !ENABLE(OILPAN)
|
| void CSSFontSelector::clearDocument()
|
| {
|
| - m_fontLoader->clearResourceFetcher();
|
| + m_fontLoader->clearResourceFetcherAndFontSelector();
|
| m_document = nullptr;
|
| }
|
| #endif
|
|
|