Index: Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp b/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp |
index f238688acc1d51d26ef6064155b2b1791103aaaf..599d0d9a242e133d9a710f0a45c09f3da8a68c29 100644 |
--- a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp |
+++ b/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp |
@@ -47,7 +47,7 @@ namespace WebCore { |
void V8SQLTransactionSync::executeSqlMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& args) |
{ |
if (!args.Length()) { |
- setDOMException(SYNTAX_ERR, args.GetIsolate()); |
+ setDOMException(SyntaxError, args.GetIsolate()); |
return; |
} |
@@ -57,7 +57,7 @@ void V8SQLTransactionSync::executeSqlMethodCustom(const v8::FunctionCallbackInfo |
if (args.Length() > 1 && !isUndefinedOrNull(args[1])) { |
if (!args[1]->IsObject()) { |
- setDOMException(TYPE_MISMATCH_ERR, args.GetIsolate()); |
+ setDOMException(TypeMismatchError, args.GetIsolate()); |
return; |
} |