Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: Source/bindings/v8/custom/V8SQLTransactionCustom.cpp

Issue 234403004: Rename V8TRYCATCH_* macros in v8/V8BindingMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: BOOL*_BOOL -> BOOL* Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
}
« no previous file with comments | « Source/bindings/v8/custom/V8PromiseCustom.cpp ('k') | Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698