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

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

Issue 234403004: Rename V8TRYCATCH_* macros in v8/V8BindingMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/V8SQLTransactionSyncCustom.cpp
diff --git a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp b/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
index db7c0ffc00514c127fd66657d0ea888a2eecdade..c12a18be44a84aec6915e45dd1cf2e66e7251185 100644
--- a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
+++ b/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp
@@ -53,7 +53,7 @@ void V8SQLTransactionSync::executeSqlMethodCustom(const v8::FunctionCallbackInfo
return;
}
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, statement, info[0]);
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, statement, info[0]);
Vector<SQLValue> sqlValues;
@@ -83,7 +83,7 @@ void V8SQLTransactionSync::executeSqlMethodCustom(const v8::FunctionCallbackInfo
V8TRYCATCH_VOID(double, sqlValue, value->NumberValue());
sqlValues.append(SQLValue(sqlValue));
} else {
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, sqlValue, value);
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, sqlValue, value);
sqlValues.append(SQLValue(sqlValue));
}
}

Powered by Google App Engine
This is Rietveld 408576698