Index: Source/core/xml/XPathEvaluator.cpp |
diff --git a/Source/core/xml/XPathEvaluator.cpp b/Source/core/xml/XPathEvaluator.cpp |
index 64708c1fce91617d5e7bfd5f4811fad18cb1a621..2d9eb3931b5a53889bbaf2b613ef1f2799414f80 100644 |
--- a/Source/core/xml/XPathEvaluator.cpp |
+++ b/Source/core/xml/XPathEvaluator.cpp |
@@ -39,18 +39,18 @@ namespace blink { |
using namespace XPath; |
-PassRefPtrWillBeRawPtr<XPathExpression> XPathEvaluator::createExpression(const String& expression, PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, ExceptionState& exceptionState) |
+XPathExpression* XPathEvaluator::createExpression(const String& expression, XPathNSResolver* resolver, ExceptionState& exceptionState) |
{ |
return XPathExpression::createExpression(expression, resolver, exceptionState); |
} |
-PassRefPtrWillBeRawPtr<XPathNSResolver> XPathEvaluator::createNSResolver(Node* nodeResolver) |
+XPathNSResolver* XPathEvaluator::createNSResolver(Node* nodeResolver) |
{ |
return NativeXPathNSResolver::create(nodeResolver); |
} |
-PassRefPtrWillBeRawPtr<XPathResult> XPathEvaluator::evaluate(const String& expression, Node* contextNode, |
- PassRefPtrWillBeRawPtr<XPathNSResolver> resolver, unsigned short type, XPathResult* result, ExceptionState& exceptionState) |
+XPathResult* XPathEvaluator::evaluate(const String& expression, Node* contextNode, |
+ XPathNSResolver* resolver, unsigned short type, XPathResult* result, ExceptionState& exceptionState) |
{ |
if (!contextNode) { |
exceptionState.throwDOMException(NotSupportedError, "The context node provided is null."); |
@@ -62,11 +62,11 @@ PassRefPtrWillBeRawPtr<XPathResult> XPathEvaluator::evaluate(const String& expre |
return nullptr; |
} |
- RefPtrWillBeRawPtr<XPathExpression> expr = createExpression(expression, resolver, exceptionState); |
+ XPathExpression* expr = createExpression(expression, resolver, exceptionState); |
if (exceptionState.hadException()) |
return nullptr; |
return expr->evaluate(contextNode, type, result, exceptionState); |
} |
-} |
+} // namespace blink |