Chromium Code Reviews| Index: third_party/WebKit/WebCore/css/CSSFontSelector.cpp |
| =================================================================== |
| --- third_party/WebKit/WebCore/css/CSSFontSelector.cpp (revision 14517) |
| +++ third_party/WebKit/WebCore/css/CSSFontSelector.cpp (working copy) |
| @@ -248,7 +248,7 @@ |
| #endif |
| if (!item->isLocal()) { |
| - if (item->isSupportedFormat() && m_document) { |
| + if (item->isSupportedFormat() && m_document && m_document->settings()->remoteFontEnabled()) { |
|
dglazkov
2009/05/15 18:05:57
this check should be:
if (item->isSupportedFormat
|
| CachedFont* cachedFont = m_document->docLoader()->requestFont(item->resource()); |
| if (cachedFont) { |
| #if ENABLE(SVG_FONTS) |