| Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| index 9f504ddbffb9e9906178dce43147525825014bbf..3c632f735ef185ea288900ee56b9ad9bf005df44 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| @@ -84,9 +84,6 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
| v8SetReturnValue(info, info.Holder());
|
| return;
|
| }
|
| -
|
| - Document& document = *toDocument(currentExecutionContext(isolate));
|
| -
|
| ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceNamedConstructor", info.Holder(), isolate);
|
| if (UNLIKELY(info.Length() < 1)) {
|
| throwMinimumArityTypeError(exceptionState, 1, info.Length());
|
| @@ -119,6 +116,7 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
| }
|
| TOSTRING_VOID_INTERNAL(optionalStringArg, info[5]);
|
| }
|
| + Document& document = *toDocument(currentExecutionContext(isolate));
|
| RefPtr<TestInterfaceNamedConstructor> impl = TestInterfaceNamedConstructor::createForJSConstructor(document, stringArg, defaultUndefinedOptionalBooleanArg, defaultUndefinedOptionalLongArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalstringArg, optionalStringArg, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
|
|