Index: Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
index 448d914644215c244c739312a27bfca07adab6be..2c93fd7f16f438c7af6d4c43d7934212c84f2427 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor.cpp |
@@ -82,10 +82,10 @@ static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) |
ExecutionContext* context = currentExecutionContext(info.GetIsolate()); |
Document& document = *toDocument(currentExecutionContext(info.GetIsolate())); |
RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, exceptionState); |
- v8::Handle<v8::Object> wrapper = info.Holder(); |
if (exceptionState.throwIfNeeded()) |
return; |
+ v8::Handle<v8::Object> wrapper = info.Holder(); |
V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor>(impl.release(), &V8TestInterfaceConstructor::wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Independent); |
v8SetReturnValue(info, wrapper); |
} |
@@ -114,10 +114,10 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) |
ExecutionContext* context = currentExecutionContext(info.GetIsolate()); |
Document& document = *toDocument(currentExecutionContext(info.GetIsolate())); |
RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, doubleArg, stringArg, testInterfaceEmptyArg, dictionaryArg, sequenceStringArg, sequenceDictionaryArg, optionalDictionaryArg, optionalTestInterfaceEmptyArg, exceptionState); |
- v8::Handle<v8::Object> wrapper = info.Holder(); |
if (exceptionState.throwIfNeeded()) |
return; |
+ v8::Handle<v8::Object> wrapper = info.Holder(); |
V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor>(impl.release(), &V8TestInterfaceConstructor::wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Independent); |
v8SetReturnValue(info, wrapper); |
} |