summaryrefslogtreecommitdiffstats
path: root/WebCore/xml/XPathFunctions.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/XPathFunctions.cpp
parent87eb0cb35bad8784770ebc807e6c982432e47107 (diff)
downloadexternal_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz
external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2
Initial Contribution
Diffstat (limited to 'WebCore/xml/XPathFunctions.cpp')
-rw-r--r--WebCore/xml/XPathFunctions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/WebCore/xml/XPathFunctions.cpp b/WebCore/xml/XPathFunctions.cpp
index 841b436..9e12d28 100644
--- a/WebCore/xml/XPathFunctions.cpp
+++ b/WebCore/xml/XPathFunctions.cpp
@@ -326,7 +326,7 @@ Value FunLocalName::evaluate() const
if (!node)
node = evaluationContext().node.get();
- return node->localName().string();
+ return node->localName().domString();
}
Value FunNamespaceURI::evaluate() const
@@ -345,7 +345,7 @@ Value FunNamespaceURI::evaluate() const
if (!node)
node = evaluationContext().node.get();
- return node->namespaceURI().string();
+ return node->namespaceURI().domString();
}
Value FunName::evaluate() const
@@ -365,7 +365,7 @@ Value FunName::evaluate() const
node = evaluationContext().node.get();
const AtomicString& prefix = node->prefix();
- return prefix.isEmpty() ? node->localName().string() : prefix + ":" + node->localName();
+ return prefix.isEmpty() ? node->localName().domString() : prefix + ":" + node->localName();
}
Value FunCount::evaluate() const