Index: Source/WebCore/xml/XMLErrors.cpp |
diff --git a/Source/WebCore/xml/XMLErrors.cpp b/Source/WebCore/xml/XMLErrors.cpp |
index 61b5c0ab9a5797d61fd3051cea75c7b52c7cab63..0314910e9d76a6b8104a629137438b0c6732c189 100644 |
--- a/Source/WebCore/xml/XMLErrors.cpp |
+++ b/Source/WebCore/xml/XMLErrors.cpp |
@@ -156,7 +156,6 @@ void XMLErrors::insertErrorMessageBlock() |
String errorMessages = m_errorMessages.toString(); |
RefPtr<Element> reportElement = createXHTMLParserErrorHeader(m_document, errorMessages); |
-#if ENABLE(XSLT) |
if (m_document->transformSourceDocument()) { |
Vector<Attribute> attributes; |
attributes.append(Attribute(styleAttr, "white-space: normal")); |
@@ -165,7 +164,6 @@ void XMLErrors::insertErrorMessageBlock() |
paragraph->parserAppendChild(m_document->createTextNode("This document was created as the result of an XSL transformation. The line and column numbers given are from the transformed result.")); |
reportElement->parserAppendChild(paragraph.release()); |
} |
-#endif |
Node* firstChild = documentElement->firstChild(); |
if (firstChild) |