| Index: third_party/WebKit/WebCore/css/CSSFontSelector.cpp
|
| ===================================================================
|
| --- third_party/WebKit/WebCore/css/CSSFontSelector.cpp (revision 16095)
|
| +++ third_party/WebKit/WebCore/css/CSSFontSelector.cpp (working copy)
|
| @@ -248,7 +248,11 @@
|
| #endif
|
|
|
| if (!item->isLocal()) {
|
| +#if ENABLE(SVG_FONTS)
|
| + if (item->isSupportedFormat() && (foundSVGFont || (m_document && m_document->settings()->remoteFontEnabled()))) {
|
| +#else
|
| if (item->isSupportedFormat() && m_document && m_document->settings()->remoteFontEnabled()) {
|
| +#endif
|
| CachedFont* cachedFont = m_document->docLoader()->requestFont(item->resource());
|
| if (cachedFont) {
|
| #if ENABLE(SVG_FONTS)
|
|
|