Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
index a048f7e713816ed68f02a8cecb27128ec37a9c58..41a41b8b7a312f5532479ad48424e352d01c350a 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp |
@@ -102,7 +102,7 @@ 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]); |
- if (info.Length() > 4) { |
+ if (!info[4]->IsUndefined()) { |
TOSTRING_VOID_INTERNAL(defaultNullStringOptionalstringArg, info[4]); |
} else { |
defaultNullStringOptionalstringArg = nullptr; |