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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceNode.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/tests/results/V8TestInterfaceNode.cpp
diff --git a/Source/bindings/tests/results/V8TestInterfaceNode.cpp b/Source/bindings/tests/results/V8TestInterfaceNode.cpp
index 731a8edd5ea1b0b94a485eb88134566db2d3057f..ebb821cee9d068f7b608e024204eeb1b7a056a44 100644
--- a/Source/bindings/tests/results/V8TestInterfaceNode.cpp
+++ b/Source/bindings/tests/results/V8TestInterfaceNode.cpp
@@ -65,7 +65,7 @@ static void stringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v
{
v8::Handle<v8::Object> holder = info.Holder();
TestInterfaceNode* impl = V8TestInterfaceNode::toNative(holder);
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value);
+ TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
impl->setStringAttribute(cppValue);
}
@@ -165,7 +165,7 @@ static void reflectStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value,
{
v8::Handle<v8::Object> holder = info.Holder();
Element* impl = V8Element::toNative(holder);
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value);
+ TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
impl->setAttribute(HTMLNames::reflectstringattributeAttr, cppValue);
}
@@ -195,7 +195,7 @@ static void reflectUrlStringAttributeAttributeSetter(v8::Local<v8::Value> v8Valu
{
v8::Handle<v8::Object> holder = info.Holder();
Element* impl = V8Element::toNative(holder);
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value);
+ TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
impl->setAttribute(HTMLNames::reflecturlstringattributeAttr, cppValue);
}
@@ -253,7 +253,7 @@ static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethod(con
v8SetReturnValueFast(info, WTF::getPtr(impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg()), impl);
return;
}
- V8TRYCATCH_VOID(bool, optionalBooleanArgument, info[0]->BooleanValue());
+ TONATIVE_VOID(bool, optionalBooleanArgument, info[0]->BooleanValue());
v8SetReturnValueFast(info, WTF::getPtr(impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optionalBooleanArgument)), impl);
}
@@ -271,7 +271,7 @@ static void perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArgMethodForM
v8SetReturnValueForMainWorld(info, WTF::getPtr(impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg()));
return;
}
- V8TRYCATCH_VOID(bool, optionalBooleanArgument, info[0]->BooleanValue());
+ TONATIVE_VOID(bool, optionalBooleanArgument, info[0]->BooleanValue());
v8SetReturnValueForMainWorld(info, WTF::getPtr(impl->perWorldBindingsTestInterfaceEmptyMethodOptionalBooleanArg(optionalBooleanArgument)));
}

Powered by Google App Engine
This is Rietveld 408576698