Index: Source/core/xml/DocumentXPathEvaluator.h |
diff --git a/Source/core/xml/DocumentXPathEvaluator.h b/Source/core/xml/DocumentXPathEvaluator.h |
index ff713ff7a08ecb00562b4a0fd7b9ffa1e919f677..58819385e0cde3a0b8be9b100069de49bfb24530 100644 |
--- a/Source/core/xml/DocumentXPathEvaluator.h |
+++ b/Source/core/xml/DocumentXPathEvaluator.h |
@@ -41,11 +41,11 @@ class DocumentXPathEvaluator final : public NoBaseWillBeGarbageCollected<Documen |
public: |
static DocumentXPathEvaluator& from(DocumentSupplementable&); |
- static PassRefPtrWillBeRawPtr<XPathExpression> createExpression(DocumentSupplementable&, |
- const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver>, ExceptionState&); |
- static PassRefPtrWillBeRawPtr<XPathNSResolver> createNSResolver(DocumentSupplementable&, Node* nodeResolver); |
- static PassRefPtrWillBeRawPtr<XPathResult> evaluate(DocumentSupplementable&, |
- const String& expression, Node* contextNode, PassRefPtrWillBeRawPtr<XPathNSResolver>, |
+ static XPathExpression* createExpression(DocumentSupplementable&, |
+ const String& expression, XPathNSResolver*, ExceptionState&); |
+ static XPathNSResolver* createNSResolver(DocumentSupplementable&, Node* nodeResolver); |
+ static XPathResult* evaluate(DocumentSupplementable&, |
+ const String& expression, Node* contextNode, XPathNSResolver*, |
unsigned short type, XPathResult*, ExceptionState&); |
virtual void trace(Visitor*) override; |
@@ -55,7 +55,7 @@ private: |
static const char* supplementName() { return "DocumentXPathEvaluator"; } |
- RefPtrWillBeMember<XPathEvaluator> m_xpathEvaluator; |
+ PersistentWillBeMember<XPathEvaluator> m_xpathEvaluator; |
}; |
} // namespace blink |