summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp')
-rw-r--r--WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp b/WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp
index f1b708a..e2a5070 100644
--- a/WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp
+++ b/WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp
@@ -35,6 +35,7 @@
#include "V8SQLTransaction.h"
#include "Database.h"
+#include "ExceptionCode.h"
#include "SQLValue.h"
#include "V8Binding.h"
#include "V8BindingMacros.h"
@@ -54,7 +55,7 @@ v8::Handle<v8::Value> V8SQLTransaction::executeSqlCallback(const v8::Arguments&
if (args.Length() == 0)
return throwError(SYNTAX_ERR);
- EXCEPTION_BLOCK(String, statement, toWebCoreString(args[0]));
+ TO_WEBCORE_STRING_EXCEPTION_BLOCK(statement, args[0]);
Vector<SQLValue> sqlValues;
@@ -81,7 +82,7 @@ v8::Handle<v8::Value> V8SQLTransaction::executeSqlCallback(const v8::Arguments&
EXCEPTION_BLOCK(double, sqlValue, value->NumberValue());
sqlValues.append(SQLValue(sqlValue));
} else {
- EXCEPTION_BLOCK(String, sqlValue, toWebCoreString(value));
+ TO_WEBCORE_STRING_EXCEPTION_BLOCK(sqlValue, value);
sqlValues.append(SQLValue(sqlValue));
}
}