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

Unified Diff: Source/WebCore/dom/Document.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/dom/Document.h ('k') | Source/WebCore/dom/DocumentStyleSheetCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Document.cpp
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index 575041e27a7c047447554ed828d4fe0778cb9c03..2035ebbfbe20444d5b4b595c1c908b1158b94776 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -183,6 +183,7 @@
#include "XPathExpression.h"
#include "XPathNSResolver.h"
#include "XPathResult.h"
+#include "XSLTProcessor.h"
#include "htmlediting.h"
#include <wtf/CurrentTime.h>
#include <wtf/HashFunctions.h>
@@ -199,10 +200,6 @@
#include "SharedWorkerRepository.h"
#endif
-#if ENABLE(XSLT)
-#include "XSLTProcessor.h"
-#endif
-
#if ENABLE(SVG)
#include "SVGDocumentExtensions.h"
#include "SVGElementFactory.h"
@@ -4144,8 +4141,6 @@ KURL Document::openSearchDescriptionURL()
return KURL();
}
-#if ENABLE(XSLT)
-
void Document::applyXSLTransform(ProcessingInstruction* pi)
{
RefPtr<XSLTProcessor> processor = XSLTProcessor::create();
@@ -4166,8 +4161,6 @@ void Document::setTransformSource(PassOwnPtr<TransformSource> source)
m_transformSource = source;
}
-#endif
-
void Document::setDesignMode(InheritedBool value)
{
m_designMode = value;
@@ -5842,10 +5835,8 @@ void Document::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const
info.addMember(m_updateFocusAppearanceTimer, "updateFocusAppearanceTimer");
info.addMember(m_pendingStateObject, "pendingStateObject");
info.addMember(m_scriptRunner, "scriptRunner");
-#if ENABLE(XSLT)
info.addMember(m_transformSource, "transformSource");
info.addMember(m_transformSourceDocument, "transformSourceDocument");
-#endif
info.addMember(m_savedRenderer, "savedRenderer");
info.addMember(m_decoder, "decoder");
info.addMember(m_xpathEvaluator, "xpathEvaluator");
« no previous file with comments | « Source/WebCore/dom/Document.h ('k') | Source/WebCore/dom/DocumentStyleSheetCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698