summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSCustomXPathNSResolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSCustomXPathNSResolver.cpp')
-rw-r--r--WebCore/bindings/js/JSCustomXPathNSResolver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSCustomXPathNSResolver.cpp b/WebCore/bindings/js/JSCustomXPathNSResolver.cpp
index 07cfc74..e7d174f 100644
--- a/WebCore/bindings/js/JSCustomXPathNSResolver.cpp
+++ b/WebCore/bindings/js/JSCustomXPathNSResolver.cpp
@@ -98,7 +98,7 @@ String JSCustomXPathNSResolver::lookupNamespaceURI(const String& prefix)
reportCurrentException(exec);
else {
if (!retval.isUndefinedOrNull())
- result = retval.toString(exec);
+ result = ustringToString(retval.toString(exec));
}
Document::updateStyleForAllDocuments();