summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSSQLTransactionCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSSQLTransactionCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSSQLTransactionCustom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/bindings/js/JSSQLTransactionCustom.cpp b/WebCore/bindings/js/JSSQLTransactionCustom.cpp
index e022401..81e6c63 100644
--- a/WebCore/bindings/js/JSSQLTransactionCustom.cpp
+++ b/WebCore/bindings/js/JSSQLTransactionCustom.cpp
@@ -49,7 +49,7 @@ JSValue JSSQLTransaction::executeSql(ExecState* exec, const ArgList& args)
return jsUndefined();
}
- String sqlStatement = args.at(0).toString(exec);
+ String sqlStatement = ustringToString(args.at(0).toString(exec));
if (exec->hadException())
return jsUndefined();
@@ -80,7 +80,7 @@ JSValue JSSQLTransaction::executeSql(ExecState* exec, const ArgList& args)
sqlValues.append(value.uncheckedGetNumber());
else {
// Convert the argument to a string and append it
- sqlValues.append(value.toString(exec));
+ sqlValues.append(ustringToString(value.toString(exec)));
if (exec->hadException())
return jsUndefined();
}