diff options
Diffstat (limited to 'Source/WebCore/css/CSSFontSelector.cpp')
-rw-r--r-- | Source/WebCore/css/CSSFontSelector.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/css/CSSFontSelector.cpp b/Source/WebCore/css/CSSFontSelector.cpp index 0f70664..c460857 100644 --- a/Source/WebCore/css/CSSFontSelector.cpp +++ b/Source/WebCore/css/CSSFontSelector.cpp @@ -245,7 +245,8 @@ void CSSFontSelector::addFontFaceRule(const CSSFontFaceRule* fontFaceRule) Settings* settings = m_document ? m_document->frame() ? m_document->frame()->settings() : 0 : 0; bool allowDownloading = foundSVGFont || (settings && settings->downloadableBinaryFontsEnabled()); if (allowDownloading && item->isSupportedFormat() && m_document) { - CachedFont* cachedFont = m_document->cachedResourceLoader()->requestFont(item->resource()); + ResourceRequest request(m_document->completeURL(item->resource())); + CachedFont* cachedFont = m_document->cachedResourceLoader()->requestFont(request); if (cachedFont) { source = new CSSFontFaceSource(item->resource(), cachedFont); #if ENABLE(SVG_FONTS) |