diff options
Diffstat (limited to 'Source/WebCore/dom/ProcessingInstruction.cpp')
-rw-r--r-- | Source/WebCore/dom/ProcessingInstruction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/dom/ProcessingInstruction.cpp b/Source/WebCore/dom/ProcessingInstruction.cpp index e7dea48..ed329bc 100644 --- a/Source/WebCore/dom/ProcessingInstruction.cpp +++ b/Source/WebCore/dom/ProcessingInstruction.cpp @@ -168,7 +168,7 @@ void ProcessingInstruction::checkStyleSheet() { String charset = attrs.get("charset"); if (charset.isEmpty()) - charset = document()->frame()->loader()->writer()->encoding(); + charset = document()->charset(); m_cachedSheet = document()->cachedResourceLoader()->requestCSSStyleSheet(url, charset); } |