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