Index: Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
index 2cf9f9de5b97f1e8f96e682e5348243beee38762..9901a6bd46188b74a5ec7beb0dfe1cccceeae6d9 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp |
@@ -51,7 +51,7 @@ static void attr1AttributeSetter(v8::Local<v8::Value> v8Value, const v8::Propert |
{ |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(holder); |
- TONATIVE_VOID(TestInterfaceGarbageCollected*, cppValue, V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value)); |
+ TestInterfaceGarbageCollected* cppValue = V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), v8Value); |
impl->setAttr1(WTF::getPtr(cppValue)); |
} |
@@ -71,9 +71,7 @@ static void funcMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder()); |
TestInterfaceGarbageCollected* arg; |
{ |
- v8::TryCatch block; |
- V8RethrowTryCatchScope rethrow(block); |
- TONATIVE_VOID_INTERNAL(arg, V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), info[0])); |
+ arg = V8TestInterfaceGarbageCollected::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
} |
impl->func(arg); |
} |