| Index: Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp b/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| index c40ef9c0de90307c2826ce289fba1146fe671f6e..0c0e638e556c6f5f8f41c37cb47968e4ae2f6b51 100644
|
| --- a/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp
|
| @@ -54,7 +54,7 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo<v8:
|
| return;
|
| }
|
|
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, statement, info[0]);
|
| + TOSTRING_VOID(V8StringResource<>, statement, info[0]);
|
|
|
| Vector<SQLValue> sqlValues;
|
|
|
| @@ -67,7 +67,7 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo<v8:
|
|
|
| uint32_t sqlArgsLength = 0;
|
| v8::Local<v8::Object> sqlArgsObject = info[1]->ToObject();
|
| - V8TRYCATCH_VOID(v8::Local<v8::Value>, length, sqlArgsObject->Get(v8AtomicString(info.GetIsolate(), "length")));
|
| + TONATIVE_VOID(v8::Local<v8::Value>, length, sqlArgsObject->Get(v8AtomicString(info.GetIsolate(), "length")));
|
|
|
| if (isUndefinedOrNull(length))
|
| sqlArgsLength = sqlArgsObject->GetPropertyNames()->Length();
|
| @@ -76,15 +76,15 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo<v8:
|
|
|
| for (unsigned i = 0; i < sqlArgsLength; ++i) {
|
| v8::Handle<v8::Integer> key = v8::Integer::New(info.GetIsolate(), i);
|
| - V8TRYCATCH_VOID(v8::Local<v8::Value>, value, sqlArgsObject->Get(key));
|
| + TONATIVE_VOID(v8::Local<v8::Value>, value, sqlArgsObject->Get(key));
|
|
|
| if (value.IsEmpty() || value->IsNull())
|
| sqlValues.append(SQLValue());
|
| else if (value->IsNumber()) {
|
| - V8TRYCATCH_VOID(double, sqlValue, value->NumberValue());
|
| + TONATIVE_VOID(double, sqlValue, value->NumberValue());
|
| sqlValues.append(SQLValue(sqlValue));
|
| } else {
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, sqlValue, value);
|
| + TOSTRING_VOID(V8StringResource<>, sqlValue, value);
|
| sqlValues.append(SQLValue(sqlValue));
|
| }
|
| }
|
|
|