Index: Source/core/xml/XSLTProcessor.h |
diff --git a/Source/core/xml/XSLTProcessor.h b/Source/core/xml/XSLTProcessor.h |
index 1a9b32c1e883f2ffa0ff867b8b9080d40ca719bd..d3df41d8bf56cbb0604034c0097043266e323fa4 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(); |