diff options
Diffstat (limited to 'Source/WebCore/css/CSSImportRule.cpp')
-rw-r--r-- | Source/WebCore/css/CSSImportRule.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/css/CSSImportRule.cpp b/Source/WebCore/css/CSSImportRule.cpp index 81ade39..82b4981 100644 --- a/Source/WebCore/css/CSSImportRule.cpp +++ b/Source/WebCore/css/CSSImportRule.cpp @@ -134,10 +134,11 @@ void CSSImportRule::insertedIntoParent() root = curr; } + ResourceRequest request(parentSheet->document()->completeURL(absHref)); if (parentSheet->isUserStyleSheet()) - m_cachedSheet = cachedResourceLoader->requestUserCSSStyleSheet(absHref, parentSheet->charset()); + m_cachedSheet = cachedResourceLoader->requestUserCSSStyleSheet(request, parentSheet->charset()); else - m_cachedSheet = cachedResourceLoader->requestCSSStyleSheet(absHref, parentSheet->charset()); + m_cachedSheet = cachedResourceLoader->requestCSSStyleSheet(request, parentSheet->charset()); if (m_cachedSheet) { // if the import rule is issued dynamically, the sheet may be // removed from the pending sheet count, so let the doc know |