| Index: Source/core/css/CSSFontSelector.cpp
|
| diff --git a/Source/core/css/CSSFontSelector.cpp b/Source/core/css/CSSFontSelector.cpp
|
| index a577b3468f9125d6f11f4f33c7ceb93f3769367b..76f5734cd3ddb15673a2eca3e5d25e809ef547e6 100644
|
| --- a/Source/core/css/CSSFontSelector.cpp
|
| +++ b/Source/core/css/CSSFontSelector.cpp
|
| @@ -159,7 +159,8 @@ void CSSFontSelector::clearDocument()
|
|
|
| void CSSFontSelector::updateGenericFontFamilySettings(Document& document)
|
| {
|
| - ASSERT(document.settings());
|
| + if (!document.settings())
|
| + return;
|
| m_genericFontFamilySettings = document.settings()->genericFontFamilySettings();
|
| }
|
|
|
|
|