| Index: Source/core/xml/XSLTProcessor.h
|
| diff --git a/Source/core/xml/XSLTProcessor.h b/Source/core/xml/XSLTProcessor.h
|
| index 3722f1fcb31e4bb0cfa66591041006fde177bfb2..23272c2247fefcf5ee77e72f89846af1ee3545e9 100644
|
| --- a/Source/core/xml/XSLTProcessor.h
|
| +++ b/Source/core/xml/XSLTProcessor.h
|
| @@ -23,6 +23,7 @@
|
| #ifndef XSLTProcessor_h
|
| #define XSLTProcessor_h
|
|
|
| +#include "RuntimeEnabledFeatures.h"
|
| #include "bindings/v8/ScriptWrappable.h"
|
| #include "core/dom/Node.h"
|
| #include "core/xml/XSLStyleSheet.h"
|
| @@ -40,7 +41,11 @@ class DocumentFragment;
|
|
|
| class XSLTProcessor : public RefCounted<XSLTProcessor>, public ScriptWrappable {
|
| public:
|
| - static PassRefPtr<XSLTProcessor> create() { return adoptRef(new XSLTProcessor); }
|
| + static PassRefPtr<XSLTProcessor> create()
|
| + {
|
| + ASSERT(RuntimeEnabledFeatures::xsltEnabled());
|
| + return adoptRef(new XSLTProcessor);
|
| + }
|
| ~XSLTProcessor();
|
|
|
| void setXSLStyleSheet(PassRefPtr<XSLStyleSheet> styleSheet) { m_stylesheet = styleSheet; }
|
|
|