| Index: Source/core/xml/DocumentXPathEvaluator.h
|
| diff --git a/Source/core/xml/DocumentXPathEvaluator.h b/Source/core/xml/DocumentXPathEvaluator.h
|
| index 04a39f93dbb0f1bb8cf066212969d3e74bb75b1c..afece8d257941b2f8b17c9624cdd2251a2aa0ed8 100644
|
| --- a/Source/core/xml/DocumentXPathEvaluator.h
|
| +++ b/Source/core/xml/DocumentXPathEvaluator.h
|
| @@ -42,11 +42,11 @@ public:
|
|
|
| static DocumentXPathEvaluator* from(DocumentSupplementable*);
|
|
|
| - static PassRefPtr<XPathExpression> createExpression(DocumentSupplementable*,
|
| - const String& expression, PassRefPtr<XPathNSResolver>, ExceptionState&);
|
| - static PassRefPtr<XPathNSResolver> createNSResolver(DocumentSupplementable*, Node* nodeResolver);
|
| - static PassRefPtr<XPathResult> evaluate(DocumentSupplementable*,
|
| - const String& expression, Node* contextNode, PassRefPtr<XPathNSResolver>,
|
| + 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>,
|
| unsigned short type, XPathResult*, ExceptionState&);
|
|
|
| private:
|
| @@ -54,7 +54,7 @@ private:
|
|
|
| static const char* supplementName() { return "DocumentXPathEvaluator"; }
|
|
|
| - RefPtr<XPathEvaluator> m_xpathEvaluator;
|
| + RefPtrWillBePersistent<XPathEvaluator> m_xpathEvaluator;
|
| };
|
|
|
| } // namespace WebCore
|
|
|