Index: Source/core/xml/XSLTProcessor.h |
diff --git a/Source/core/xml/XSLTProcessor.h b/Source/core/xml/XSLTProcessor.h |
index 262d4cff9d41662b411dc9732c42734511777393..ae8595bfbfa75b31372a0363367670f50b90ce4d 100644 |
--- a/Source/core/xml/XSLTProcessor.h |
+++ b/Source/core/xml/XSLTProcessor.h |
@@ -39,13 +39,13 @@ class LocalFrame; |
class Document; |
class DocumentFragment; |
-class XSLTProcessor : public RefCountedWillBeGarbageCollectedFinalized<XSLTProcessor>, public ScriptWrappable { |
+class XSLTProcessor : public GarbageCollectedFinalized<XSLTProcessor>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<XSLTProcessor> create(Document& document) |
+ static XSLTProcessor* create(Document& document) |
{ |
ASSERT(RuntimeEnabledFeatures::xsltEnabled()); |
- return adoptRefWillBeNoop(new XSLTProcessor(document)); |
+ return new XSLTProcessor(document); |
} |
~XSLTProcessor(); |