| Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| index 11a6d8e934595c6be6be6a0f0f926387a5087fd2..a9e85448d892bfecdff8269da65907d7d5daa1e4 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
| @@ -110,7 +110,11 @@ static void V8TestInterfaceNamedConstructorConstructorCallback(const v8::Functio
|
| TONATIVE_VOID_INTERNAL(defaultUndefinedOptionalBooleanArg, info[1]->BooleanValue());
|
| TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultUndefinedOptionalLongArg, toInt32(info[2], exceptionState), exceptionState);
|
| TOSTRING_VOID_INTERNAL(defaultUndefinedOptionalStringArg, info[3]);
|
| - TOSTRING_VOID_INTERNAL(defaultNullStringOptionalstringArg, argumentOrNull(info, 4));
|
| + if (info.Length() > 4) {
|
| + TOSTRING_VOID_INTERNAL(defaultNullStringOptionalstringArg, info[4]);
|
| + } else {
|
| + defaultNullStringOptionalstringArg = String();
|
| + }
|
| if (UNLIKELY(info.Length() <= 5)) {
|
| RefPtr<TestInterfaceNamedConstructor> impl = TestInterfaceNamedConstructor::createForJSConstructor(stringArg, defaultUndefinedOptionalBooleanArg, defaultUndefinedOptionalLongArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalstringArg);
|
| v8::Handle<v8::Object> wrapper = info.Holder();
|
|
|