Index: Source/core/xml/NativeXPathNSResolver.cpp |
diff --git a/Source/core/xml/NativeXPathNSResolver.cpp b/Source/core/xml/NativeXPathNSResolver.cpp |
index 8ae8c04db12a3183ab9f8afbfa42a275d5d372af..cbe118aaa38059bbfe7aecb61ba791a5e8ca78ae 100644 |
--- a/Source/core/xml/NativeXPathNSResolver.cpp |
+++ b/Source/core/xml/NativeXPathNSResolver.cpp |
@@ -41,14 +41,14 @@ NativeXPathNSResolver::~NativeXPathNSResolver() |
{ |
} |
-String NativeXPathNSResolver::lookupNamespaceURI(const String& prefix) |
+AtomicString NativeXPathNSResolver::lookupNamespaceURI(const String& prefix) |
{ |
// This is not done by Node::lookupNamespaceURI as per the DOM3 Core spec, |
// but the XPath spec says that we should do it for XPathNSResolver. |
if (prefix == "xml") |
return XMLNames::xmlNamespaceURI; |
- return m_node ? m_node->lookupNamespaceURI(prefix) : String(); |
+ return m_node ? m_node->lookupNamespaceURI(prefix) : nullAtom; |
} |
} // namespace WebCore |