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/V8TestTypedefs.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/V8TestTypedefs.cpp
diff --git a/Source/bindings/tests/results/V8TestTypedefs.cpp b/Source/bindings/tests/results/V8TestTypedefs.cpp
index 1be415b6269550cabb1a065a333ff3cfc8107abc..c40302a043d8ad8dbb40c53a82d14047e105aa80 100644
--- a/Source/bindings/tests/results/V8TestTypedefs.cpp
+++ b/Source/bindings/tests/results/V8TestTypedefs.cpp
@@ -67,7 +67,7 @@ static void uLongLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value, cons
v8::Handle<v8::Object> holder = info.Holder();
ExceptionState exceptionState(ExceptionState::SetterContext, "uLongLongAttribute", "TestTypedefs", holder, info.GetIsolate());
TestTypedefs* impl = V8TestTypedefs::toNative(holder);
- V8TRYCATCH_EXCEPTION_VOID(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState);
+ V8TRYCATCH_VOID_EXCEPTION(unsigned long long, cppValue, toUInt64(v8Value, exceptionState), exceptionState);
impl->setULongLongAttribute(cppValue);
}
@@ -124,7 +124,7 @@ static void voidMethodFloatArgStringArgMethod(const v8::FunctionCallbackInfo<v8:
}
TestTypedefs* impl = V8TestTypedefs::toNative(info.Holder());
V8TRYCATCH_VOID(float, floatArg, static_cast<float>(info[0]->NumberValue()));
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[1]);
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringArg, info[1]);
impl->voidMethodFloatArgStringArg(floatArg, stringArg);
}
@@ -244,7 +244,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
throwArityTypeErrorForConstructor("TestTypedefs", 1, info.Length(), info.GetIsolate());
return;
}
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]);
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, stringArg, info[0]);
RefPtr<TestTypedefs> impl = TestTypedefs::create(stringArg);
v8::Handle<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698