Index: Source/core/xml/XPathEvaluator.h |
diff --git a/Source/core/xml/XPathEvaluator.h b/Source/core/xml/XPathEvaluator.h |
index b0ac14c90afe77bb99dd0fd6d1b03787aac7aea1..dcae33e097654a0db3c0c8dee42a1d5144949ecf 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 { |
@@ -41,18 +38,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, XPathResult*, ExceptionState&); |
+ XPathExpression* createExpression(const String& expression, XPathNSResolver*, ExceptionState&); |
+ XPathNSResolver* createNSResolver(Node* nodeResolver); |
+ XPathResult* evaluate(const String& expression, Node* contextNode, |
+ XPathNSResolver*, unsigned short type, XPathResult*, ExceptionState&); |
void trace(Visitor*) { } |