summaryrefslogtreecommitdiffstats
path: root/WebCore/xml/XPathEvaluator.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch)
treed49911209b132da58d838efa852daf28d516df21 /WebCore/xml/XPathEvaluator.cpp
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
Diffstat (limited to 'WebCore/xml/XPathEvaluator.cpp')
-rw-r--r--WebCore/xml/XPathEvaluator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/xml/XPathEvaluator.cpp b/WebCore/xml/XPathEvaluator.cpp
index 8fb203f..1707012 100644
--- a/WebCore/xml/XPathEvaluator.cpp
+++ b/WebCore/xml/XPathEvaluator.cpp
@@ -49,7 +49,7 @@ PassRefPtr<XPathExpression> XPathEvaluator::createExpression(const String& expre
PassRefPtr<XPathNSResolver> XPathEvaluator::createNSResolver(Node* nodeResolver)
{
- return NativeXPathNSResolver::create(nodeResolver);
+ return new NativeXPathNSResolver(nodeResolver);
}
PassRefPtr<XPathResult> XPathEvaluator::evaluate(const String& expression,