diff options
Diffstat (limited to 'WebCore/bindings/js/JSXSLTProcessorCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSXSLTProcessorCustom.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/WebCore/bindings/js/JSXSLTProcessorCustom.cpp b/WebCore/bindings/js/JSXSLTProcessorCustom.cpp index 441bbc9..49ac234 100644 --- a/WebCore/bindings/js/JSXSLTProcessorCustom.cpp +++ b/WebCore/bindings/js/JSXSLTProcessorCustom.cpp @@ -89,9 +89,9 @@ JSValue JSXSLTProcessor::setParameter(ExecState* exec, const ArgList& args) { if (args.at(1).isUndefinedOrNull() || args.at(2).isUndefinedOrNull()) return jsUndefined(); // Throw exception? - String namespaceURI = args.at(0).toString(exec); - String localName = args.at(1).toString(exec); - String value = args.at(2).toString(exec); + String namespaceURI = ustringToString(args.at(0).toString(exec)); + String localName = ustringToString(args.at(1).toString(exec)); + String value = ustringToString(args.at(2).toString(exec)); impl()->setParameter(namespaceURI, localName, value); return jsUndefined(); } @@ -100,8 +100,8 @@ JSValue JSXSLTProcessor::getParameter(ExecState* exec, const ArgList& args) { if (args.at(1).isUndefinedOrNull()) return jsUndefined(); - String namespaceURI = args.at(0).toString(exec); - String localName = args.at(1).toString(exec); + String namespaceURI = ustringToString(args.at(0).toString(exec)); + String localName = ustringToString(args.at(1).toString(exec)); String value = impl()->getParameter(namespaceURI, localName); return jsStringOrUndefined(exec, value); } @@ -110,8 +110,8 @@ JSValue JSXSLTProcessor::removeParameter(ExecState* exec, const ArgList& args) { if (args.at(1).isUndefinedOrNull()) return jsUndefined(); - String namespaceURI = args.at(0).toString(exec); - String localName = args.at(1).toString(exec); + String namespaceURI = ustringToString(args.at(0).toString(exec)); + String localName = ustringToString(args.at(1).toString(exec)); impl()->removeParameter(namespaceURI, localName); return jsUndefined(); } |