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

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: 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..89d615cb5d1a7e11f7fa489830a46bff07a6dbd3 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);
+ V8STRINGRESOURCE_PREPARE_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);
+ V8STRINGRESOURCE_PREPARE_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);
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, cppValue, v8Value);
impl->setAttribute(HTMLNames::reflecturlstringattributeAttr, cppValue);
}

Powered by Google App Engine
This is Rietveld 408576698