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

Unified Diff: Source/bindings/tests/results/V8TestSpecialOperations.cpp

Issue 265293004: Create fewer local v8::TryCatch objects in generated bindings code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: avoid some unused v8::TryCatch objects Created 6 years, 7 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/tests/results/V8TestSpecialOperations.cpp
diff --git a/Source/bindings/tests/results/V8TestSpecialOperations.cpp b/Source/bindings/tests/results/V8TestSpecialOperations.cpp
index 131a5a51884e232ab75f8612fb331bfa9696c4a0..e28f1cb0ad31419d038e09cdb997d0d94dc57de0 100644
--- a/Source/bindings/tests/results/V8TestSpecialOperations.cpp
+++ b/Source/bindings/tests/results/V8TestSpecialOperations.cpp
@@ -51,7 +51,10 @@ static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
return;
}
TestSpecialOperations* impl = V8TestSpecialOperations::toNative(info.Holder());
- TOSTRING_VOID(V8StringResource<>, name, info[0]);
+ V8StringResource<> name;
+ {
+ TOSTRING_VOID_NO_DECL(name, info[0]);
+ }
bool result0Enabled = false;
RefPtr<Node> result0;
bool result1Enabled = false;

Powered by Google App Engine
This is Rietveld 408576698