Index: Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
index 8a85d48fa82ae33af46c37fe8872c33e2520a97b..60afb12d673a76e123692b9045908240d8ece9d7 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
@@ -61,7 +61,7 @@ static void attr1AttributeSetter(v8::Local<v8::Value> v8Value, const v8::Propert |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toNative(holder); |
- V8TRYCATCH_VOID(TestInterfaceGarbageCollected*, cppValue, V8TestInterfaceGarbageCollected::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
+ TONATIVE_VOID(TestInterfaceGarbageCollected*, cppValue, V8TestInterfaceGarbageCollected::toNativeWithTypeCheck(info.GetIsolate(), v8Value)); |
impl->setAttr1(WTF::getPtr(cppValue)); |
} |
@@ -79,7 +79,7 @@ static void funcMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
return; |
} |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toNative(info.Holder()); |
- V8TRYCATCH_VOID(TestInterfaceGarbageCollected*, arg, V8TestInterfaceGarbageCollected::toNativeWithTypeCheck(info.GetIsolate(), info[0])); |
+ TONATIVE_VOID(TestInterfaceGarbageCollected*, arg, V8TestInterfaceGarbageCollected::toNativeWithTypeCheck(info.GetIsolate(), info[0])); |
impl->func(arg); |
} |
@@ -97,7 +97,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
throwArityTypeErrorForConstructor("TestInterfaceGarbageCollected", 1, info.Length(), info.GetIsolate()); |
return; |
} |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, str, info[0]); |
+ TOSTRING_VOID(V8StringResource<>, str, info[0]); |
RawPtr<TestInterfaceGarbageCollected> impl = TestInterfaceGarbageCollected::create(str); |
v8::Handle<v8::Object> wrapper = info.Holder(); |