X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fbindings%2Fv8%2Fcustom%2FV8SQLTransactionCustom.cpp;h=0c0e638e556c6f5f8f41c37cb47968e4ae2f6b51;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=c40ef9c0de90307c2826ce289fba1146fe671f6e;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp b/src/third_party/WebKit/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp index c40ef9c..0c0e638 100644 --- a/src/third_party/WebKit/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp +++ b/src/third_party/WebKit/Source/bindings/v8/custom/V8SQLTransactionCustom.cpp @@ -54,7 +54,7 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo, statement, info[0]); + TOSTRING_VOID(V8StringResource<>, statement, info[0]); Vector sqlValues; @@ -67,7 +67,7 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo sqlArgsObject = info[1]->ToObject(); - V8TRYCATCH_VOID(v8::Local, length, sqlArgsObject->Get(v8AtomicString(info.GetIsolate(), "length"))); + TONATIVE_VOID(v8::Local, length, sqlArgsObject->Get(v8AtomicString(info.GetIsolate(), "length"))); if (isUndefinedOrNull(length)) sqlArgsLength = sqlArgsObject->GetPropertyNames()->Length(); @@ -76,15 +76,15 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo key = v8::Integer::New(info.GetIsolate(), i); - V8TRYCATCH_VOID(v8::Local, value, sqlArgsObject->Get(key)); + TONATIVE_VOID(v8::Local, 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)); } }