diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/xml/XPathFunctions.cpp | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_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.cpp | 6 |
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 |