| Index: Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| index 11c500ab289452c58c4a78ba1b21b07154115524..bef035b225e82cdba8a2e72ad40e59faa4c4b1d6 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
| @@ -83,12 +83,12 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
| V8StringResource<> defaultNullStringOptionalstringArg;
|
| V8StringResource<> optionalStringArg;
|
| {
|
| - TOSTRING_VOID_INTERNAL(stringArg, info[0]);
|
| + TONATIVE_CONVERT((stringArg = info[0]).prepare(), return);
|
| defaultUndefinedOptionalBooleanArg = info[1]->BooleanValue();
|
| - TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultUndefinedOptionalLongArg, toInt32(info[2], exceptionState), exceptionState);
|
| - TOSTRING_VOID_INTERNAL(defaultUndefinedOptionalStringArg, info[3]);
|
| + TONATIVE_CONVERT(convertAndThrow(defaultUndefinedOptionalLongArg = toInt32(info[2], exceptionState), exceptionState), return);
|
| + TONATIVE_CONVERT((defaultUndefinedOptionalStringArg = info[3]).prepare(), return);
|
| if (!info[4]->IsUndefined()) {
|
| - TOSTRING_VOID_INTERNAL(defaultNullStringOptionalstringArg, info[4]);
|
| + TONATIVE_CONVERT((defaultNullStringOptionalstringArg = info[4]).prepare(), return);
|
| } else {
|
| defaultNullStringOptionalstringArg = nullptr;
|
| }
|
| @@ -104,7 +104,7 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
| v8SetReturnValue(info, wrapper);
|
| return;
|
| }
|
| - TOSTRING_VOID_INTERNAL(optionalStringArg, info[5]);
|
| + TONATIVE_CONVERT((optionalStringArg = info[5]).prepare(), return);
|
| }
|
| Document& document = *toDocument(currentExecutionContext(info.GetIsolate()));
|
| RefPtr<TestInterfaceNamedConstructor> impl = TestInterfaceNamedConstructor::createForJSConstructor(document, stringArg, defaultUndefinedOptionalBooleanArg, defaultUndefinedOptionalLongArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalstringArg, optionalStringArg, exceptionState);
|
|
|