Index: Source/core/xml/NativeXPathNSResolver.h |
diff --git a/Source/core/xml/NativeXPathNSResolver.h b/Source/core/xml/NativeXPathNSResolver.h |
index bed67bdd86b7fdf815d517f70f94adce66789510..32d5682435ae8879a330a7f2f77c69fe4231f572 100644 |
--- a/Source/core/xml/NativeXPathNSResolver.h |
+++ b/Source/core/xml/NativeXPathNSResolver.h |
@@ -35,9 +35,9 @@ class Node; |
class NativeXPathNSResolver final : public XPathNSResolver { |
public: |
- static PassRefPtrWillBeRawPtr<NativeXPathNSResolver> create(PassRefPtrWillBeRawPtr<Node> node) |
+ static NativeXPathNSResolver* create(PassRefPtrWillBeRawPtr<Node> node) |
{ |
- return adoptRefWillBeNoop(new NativeXPathNSResolver(node)); |
+ return new NativeXPathNSResolver(node); |
} |
virtual AtomicString lookupNamespaceURI(const String& prefix) override; |