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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 25279004: Add a runtime flag for XSLT (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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/core/xml/parser/XMLDocumentParser.cpp ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index 1fef88c480489fe69e2756220fe5d4d57a497a9e..c10d27a63d1e0fd255147179e71378608d98deeb 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -381,6 +381,11 @@ bool WebRuntimeFeatures::isHTMLImportsEnabled()
return RuntimeEnabledFeatures::htmlImportsEnabled();
}
+void WebRuntimeFeatures::enableXSLT(bool enable)
+{
+ RuntimeEnabledFeatures::setXSLTEnabled(enable);
+}
+
void WebRuntimeFeatures::enableEmbedderCustomElements(bool enable)
{
RuntimeEnabledFeatures::setEmbedderCustomElementsEnabled(enable);
« no previous file with comments | « Source/core/xml/parser/XMLDocumentParser.cpp ('k') | public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698