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 b96a9945078fb3ced95c63f9447bacc175cd1952..1a2e2f7cf8eb2c01244521fb14db7f8b7c0db3a6 100644 |
--- a/Source/bindings/scripts/code_generator_v8.pm |
+++ b/Source/bindings/scripts/code_generator_v8.pm |
@@ -2776,12 +2776,10 @@ END |
if ($interface->extendedAttributes->{"ConstructorCallWith"}) { |
if ($interface->extendedAttributes->{"ConstructorCallWith"} eq "ExecutionContext") { |
push(@beforeArgumentList, "context"); |
- $code .= "\n"; |
- $code .= " ExecutionContext* context = getExecutionContext();"; |
+ $code .= " ExecutionContext* context = getExecutionContext();\n"; |
} elsif ($interface->extendedAttributes->{"ConstructorCallWith"} eq "Document") { |
push(@beforeArgumentList, "document"); |
- $code .= "\n"; |
- $code .= " Document& document = *toDocument(getExecutionContext());"; |
+ $code .= " Document& document = *toDocument(getExecutionContext());\n"; |
} |
} |
@@ -2802,7 +2800,6 @@ END |
} |
my $argumentString = join(", ", @beforeArgumentList, @argumentList, @afterArgumentList); |
- $code .= "\n"; |
$code .= " RefPtr<${implClassName}> impl = ${implClassName}::create(${argumentString});\n"; |
$code .= " v8::Handle<v8::Object> wrapper = info.Holder();\n"; |