| 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 c714c34f1a180717b90315e67717164f278979f9..5956d1b24112fa7670f136c9a7633eda26ae316c 100644
|
| --- a/Source/bindings/scripts/code_generator_v8.pm
|
| +++ b/Source/bindings/scripts/code_generator_v8.pm
|
| @@ -5190,7 +5190,9 @@ END
|
| $nativeValue = NativeToJSValue($function->type, $function->extendedAttributes, $return, $indent, "", "args.Holder()", "args.GetIsolate()", "args", 0, $forMainWorldSuffix, "return");
|
| }
|
|
|
| - $code .= $nativeValue . "\n";
|
| + if ($nativeValue) { # Skip blank line for void return type
|
| + $code .= $nativeValue . "\n";
|
| + }
|
| $code .= $indent . "return;\n";
|
|
|
| return $code;
|
|
|