summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/ScriptValue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/ScriptValue.cpp')
-rw-r--r--WebCore/bindings/js/ScriptValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/ScriptValue.cpp b/WebCore/bindings/js/ScriptValue.cpp
index 005c329..a52024d 100644
--- a/WebCore/bindings/js/ScriptValue.cpp
+++ b/WebCore/bindings/js/ScriptValue.cpp
@@ -50,7 +50,7 @@ bool ScriptValue::getString(ScriptState* scriptState, String& result) const
UString ustring;
if (!m_value.get().getString(scriptState, ustring))
return false;
- result = ustring;
+ result = ustringToString(ustring);
return true;
}