https://bugs.webkit.org/show_bug.cgi?id=84077
Reviewed by Nate Chapin.
$indent in NativeToJSValue() in CodeGeneratorV8.pm is not used.
This patch removes it.
No new tests. No change in behavior.
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateNormalAttrGetter):
(GenerateFunctionCallString):
(NativeToJSValue):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114298
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-04-16 Kentaro Hara <haraken@chromium.org>
+
+ [Refactoring][V8] Remove $indent from NativeToJSValue()
+ https://bugs.webkit.org/show_bug.cgi?id=84077
+
+ Reviewed by Nate Chapin.
+
+ $indent in NativeToJSValue() in CodeGeneratorV8.pm is not used.
+ This patch removes it.
+
+ No new tests. No change in behavior.
+
+ * bindings/scripts/CodeGeneratorV8.pm:
+ (GenerateNormalAttrGetter):
+ (GenerateFunctionCallString):
+ (NativeToJSValue):
+
2012-04-16 Luiz Agostini <luiz.agostini@palm.com>
matchMedia() MediaQueryList not updating
return value;
END
} else {
- push(@implContentDecls, " " . ReturnNativeToJSValue($attribute->signature, $result, " ").";\n");
+ push(@implContentDecls, " " . ReturnNativeToJSValue($attribute->signature, $result).";\n");
}
}
}
$return .= ".release()" if ($returnIsRef);
- $result .= $indent . ReturnNativeToJSValue($function->signature, $return, $indent) . ";\n";
+ $result .= $indent . ReturnNativeToJSValue($function->signature, $return) . ";\n";
return $result;
}
{
my $signature = shift;
my $value = shift;
- my $indent = shift;
my $type = GetTypeFromSignature($signature);
return "v8Boolean($value)" if $type eq "boolean";