| Index: third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| index a0d944cdddd5f1ff18163e3fb97d91ebd123d771..226751504939dff194d968a8fc4032c740fd1b6e 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSFontSelector.cpp
|
| @@ -44,14 +44,13 @@ namespace blink {
|
|
|
| CSSFontSelector::CSSFontSelector(Document* document)
|
| : m_document(document)
|
| - , m_genericFontFamilySettings(document->frame()->settings()->genericFontFamilySettings())
|
| + , m_genericFontFamilySettings(document->settings()->genericFontFamilySettings())
|
| {
|
| // FIXME: An old comment used to say there was no need to hold a reference to m_document
|
| // because "we are guaranteed to be destroyed before the document". But there does not
|
| // seem to be any such guarantee.
|
|
|
| ASSERT(m_document);
|
| - ASSERT(m_document->frame());
|
| FontCache::fontCache()->addClient(this);
|
| FontFaceSet::from(*document)->addFontFacesToFontFaceCache(&m_fontFaceCache, this);
|
| }
|
|
|