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

Unified Diff: Source/bindings/tests/results/V8TestNode.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/V8TestNode.cpp
diff --git a/Source/bindings/tests/results/V8TestNode.cpp b/Source/bindings/tests/results/V8TestNode.cpp
index 083461d981303fd4eb3c6cbe9b7251a22036ae22..1b45ba688fbbdb4faf35ebd245a79bdd7c5f35d4 100644
--- a/Source/bindings/tests/results/V8TestNode.cpp
+++ b/Source/bindings/tests/results/V8TestNode.cpp
@@ -61,7 +61,7 @@ static void hrefAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property
{
v8::Handle<v8::Object> holder = info.Holder();
TestNode* impl = V8TestNode::toNative(holder);
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value);
+ TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
impl->setHref(cppValue);
}
@@ -91,7 +91,7 @@ static void hrefThrowsAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Pr
v8::Handle<v8::Object> holder = info.Holder();
ExceptionState exceptionState(ExceptionState::SetterContext, "hrefThrows", "TestNode", holder, info.GetIsolate());
TestNode* impl = V8TestNode::toNative(holder);
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value);
+ TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
impl->setHrefThrows(cppValue, exceptionState);
exceptionState.throwIfNeeded();
}
@@ -121,7 +121,7 @@ static void hrefCallWithAttributeSetter(v8::Local<v8::Value> v8Value, const v8::
{
v8::Handle<v8::Object> holder = info.Holder();
TestNode* impl = V8TestNode::toNative(holder);
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, cppValue, v8Value);
+ TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
impl->setHrefCallWith(callingDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue);
}

Powered by Google App Engine
This is Rietveld 408576698