summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/xml/XSLStyleSheetLibxslt.cpp')
-rw-r--r--Source/WebCore/xml/XSLStyleSheetLibxslt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp b/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp
index a18b7b167..0b8340cd9 100644
--- a/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp
+++ b/Source/WebCore/xml/XSLStyleSheetLibxslt.cpp
@@ -145,8 +145,8 @@ bool XSLStyleSheet::parseString(const String& string)
m_stylesheetDocTaken = false;
Console* console = 0;
- if (Frame* frame = ownerDocument()->frame())
- console = frame->domWindow()->console();
+ if (ownerDocument()->frame())
+ console = ownerDocument()->domWindow()->console();
XMLDocumentParserScope scope(cachedResourceLoader(), XSLTProcessor::genericErrorFunc, XSLTProcessor::parseErrorFunc, console);