| Index: Source/core/xml/NativeXPathNSResolver.h
|
| diff --git a/Source/core/xml/NativeXPathNSResolver.h b/Source/core/xml/NativeXPathNSResolver.h
|
| index 45d5a66e9428a61dad9899e6bfc7d10238b91a0a..64fb162b8266989c5100f32c7388e21937be5924 100644
|
| --- a/Source/core/xml/NativeXPathNSResolver.h
|
| +++ b/Source/core/xml/NativeXPathNSResolver.h
|
| @@ -35,11 +35,16 @@ class Node;
|
|
|
| class NativeXPathNSResolver FINAL : public XPathNSResolver {
|
| public:
|
| - static PassRefPtr<NativeXPathNSResolver> create(PassRefPtr<Node> node) { return adoptRef(new NativeXPathNSResolver(node)); }
|
| + static PassRefPtrWillBeRawPtr<NativeXPathNSResolver> create(PassRefPtr<Node> node)
|
| + {
|
| + return adoptRefWillBeNoop(new NativeXPathNSResolver(node));
|
| + }
|
| virtual ~NativeXPathNSResolver();
|
|
|
| virtual AtomicString lookupNamespaceURI(const String& prefix) OVERRIDE;
|
|
|
| + virtual void trace(Visitor*) OVERRIDE;
|
| +
|
| private:
|
| explicit NativeXPathNSResolver(PassRefPtr<Node>);
|
| RefPtr<Node> m_node;
|
|
|