Index: Source/core/xml/XPathEvaluator.h |
diff --git a/Source/core/xml/XPathEvaluator.h b/Source/core/xml/XPathEvaluator.h |
index c00f10057957c2a708ac6c3e020b6078685fcff0..46ed8c23c984a63c80be9103d264304bbd1fbf89 100644 |
--- a/Source/core/xml/XPathEvaluator.h |
+++ b/Source/core/xml/XPathEvaluator.h |
@@ -29,9 +29,6 @@ |
#include "bindings/core/v8/ScriptWrappable.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/Forward.h" |
-#include "wtf/PassRefPtr.h" |
-#include "wtf/RefCounted.h" |
namespace blink { |
@@ -42,18 +39,18 @@ class XPathExpression; |
class XPathNSResolver; |
class XPathResult; |
-class XPathEvaluator final : public RefCountedWillBeGarbageCollected<XPathEvaluator>, public ScriptWrappable { |
+class XPathEvaluator final : public GarbageCollected<XPathEvaluator>, public ScriptWrappable { |
DEFINE_WRAPPERTYPEINFO(); |
public: |
- static PassRefPtrWillBeRawPtr<XPathEvaluator> create() |
+ static XPathEvaluator* create() |
{ |
- return adoptRefWillBeNoop(new XPathEvaluator); |
+ return new XPathEvaluator; |
} |
- PassRefPtrWillBeRawPtr<XPathExpression> createExpression(const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&); |
- PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(Node* nodeResolver); |
- PassRefPtrWillBeRawPtr<XPathResult> evaluate(const String& expression, Node* contextNode, |
- PassRefPtrWillBeRawPtr<XPathNSResolver>, unsigned short type, const ScriptValue&, ExceptionState&); |
+ XPathExpression* createExpression(const String& expression, XPathNSResolver*, ExceptionState&); |
+ XPathNSResolver* createNSResolver(Node* nodeResolver); |
+ XPathResult* evaluate(const String& expression, Node* contextNode, |
+ XPathNSResolver*, unsigned short type, const ScriptValue&, ExceptionState&); |
DEFINE_INLINE_TRACE() { } |