| Index: Source/bindings/scripts/code_generator_v8.pm
|
| diff --git a/Source/bindings/scripts/code_generator_v8.pm b/Source/bindings/scripts/code_generator_v8.pm
|
| index 0dcefb17483de120efbb3906e4273a8c29e888c4..874ef058f2a9b22f06c8092bf607008b1149fcf5 100644
|
| --- a/Source/bindings/scripts/code_generator_v8.pm
|
| +++ b/Source/bindings/scripts/code_generator_v8.pm
|
| @@ -2454,7 +2454,6 @@ sub GenerateParametersCheck
|
| my $nativeType = GetNativeType($parameter->type, $parameter->extendedAttributes, "parameter");
|
|
|
| # Optional arguments without [Default=...] should generate an early call with fewer arguments.
|
| - # Optional arguments with [Optional=...] should not generate the early call.
|
| # Optional Dictionary arguments always considered to have default of empty dictionary.
|
| if ($parameter->isOptional && !$parameter->extendedAttributes->{"Default"} && $nativeType ne "Dictionary" && !IsCallbackInterface($parameter->type)) {
|
| $parameterCheckString .= <<END;
|
|
|