summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSDocumentCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSDocumentCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSDocumentCustom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSDocumentCustom.cpp b/WebCore/bindings/js/JSDocumentCustom.cpp
index eda153e..8abd8ce 100644
--- a/WebCore/bindings/js/JSDocumentCustom.cpp
+++ b/WebCore/bindings/js/JSDocumentCustom.cpp
@@ -79,7 +79,7 @@ void JSDocument::setLocation(ExecState* exec, JSValue value)
if (!frame)
return;
- String str = value.toString(exec);
+ String str = ustringToString(value.toString(exec));
// IE and Mozilla both resolve the URL relative to the source frame,
// not the target frame.