Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 4d1a0b46a5f9118dbc190a660ca1dd11fa76466b..ab1d4defb1ef174763a63212c543d5c58bbc352b 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -531,6 +531,8 @@ void StyleEngine::clearFontCache() |
void StyleEngine::updateGenericFontFamilySettings() |
{ |
+ if (!document().isActive() || !document().settings()) |
dglazkov
2014/05/29 22:24:28
Just checking: is this a symptom of a larger probl
tasak
2014/05/30 02:12:05
As far as I investigated,
WebSettingsImpl::setSta
|
+ return; |
if (!m_fontSelector) |
return; |