| Index: Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp b/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| index 428226e1f04be1f662c17eb19f23968d3951764c..1c2787f03f1c492e7890c6fc8e6ce05a314a2edd 100644
|
| --- a/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| @@ -34,7 +34,6 @@
|
|
|
| #include "V8SQLStatementCallback.h"
|
| #include "V8SQLStatementErrorCallback.h"
|
| -#include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/V8Binding.h"
|
| #include "core/dom/ExceptionCode.h"
|
| #include "core/platform/sql/SQLValue.h"
|
| @@ -109,9 +108,9 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo<v8:
|
| errorCallback = V8SQLStatementErrorCallback::create(args[3], scriptExecutionContext);
|
| }
|
|
|
| - ExceptionState es(args.GetIsolate());
|
| - transaction->executeSQL(statement, sqlValues, callback, errorCallback, es);
|
| - es.throwIfNeeded();
|
| + ExceptionCode ec = 0;
|
| + transaction->executeSQL(statement, sqlValues, callback, errorCallback, ec);
|
| + setDOMException(ec, args.GetIsolate());
|
| }
|
|
|
| } // namespace WebCore
|
|
|