Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: Source/WebCore/xml/XMLErrors.cpp

Issue 14113007: Remove the ENABLE_XSLT compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/loader/cache/MemoryCache.cpp ('k') | Source/WebCore/xml/XMLTreeViewer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/WebCore/loader/cache/MemoryCache.cpp ('k') | Source/WebCore/xml/XMLTreeViewer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698