| Index: Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp b/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
|
| index aede1dbabbabcfbbe8c9cd4f3a0dd5edc527edc4..5b9b22fd5f2671562708eb1c1788119e9f22d8f2 100644
|
| --- a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
|
| @@ -88,9 +88,9 @@ void V8SQLTransactionSync::executeSqlMethodCustom(const v8::FunctionCallbackInfo
|
|
|
| SQLTransactionSync* transaction = V8SQLTransactionSync::toNative(info.Holder());
|
|
|
| - ExceptionState es(info.GetIsolate());
|
| - v8::Handle<v8::Value> result = toV8(transaction->executeSQL(statement, sqlValues, es), info.Holder(), info.GetIsolate());
|
| - if (es.throwIfNeeded())
|
| + ExceptionState exceptionState(info.GetIsolate());
|
| + v8::Handle<v8::Value> result = toV8(transaction->executeSQL(statement, sqlValues, exceptionState), info.Holder(), info.GetIsolate());
|
| + if (exceptionState.throwIfNeeded())
|
| return;
|
|
|
| v8SetReturnValue(info, result);
|
|
|