Title: [114298] trunk/Source/WebCore
Revision
114298
Author
[email protected]
Date
2012-04-16 14:19:43 -0700 (Mon, 16 Apr 2012)

Log Message

[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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114297 => 114298)


--- trunk/Source/WebCore/ChangeLog	2012-04-16 21:19:23 UTC (rev 114297)
+++ trunk/Source/WebCore/ChangeLog	2012-04-16 21:19:43 UTC (rev 114298)
@@ -1,3 +1,20 @@
+2012-04-16  Kentaro Hara  <[email protected]>
+
+        [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  <[email protected]>
 
         matchMedia() MediaQueryList not updating

Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm (114297 => 114298)


--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm	2012-04-16 21:19:23 UTC (rev 114297)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm	2012-04-16 21:19:43 UTC (rev 114298)
@@ -994,7 +994,7 @@
     return value;
 END
         } else {
-            push(@implContentDecls, "    " . ReturnNativeToJSValue($attribute->signature, $result, "    ").";\n");
+            push(@implContentDecls, "    " . ReturnNativeToJSValue($attribute->signature, $result).";\n");
         }
     }
 
@@ -3306,7 +3306,7 @@
     }
 
     $return .= ".release()" if ($returnIsRef);
-    $result .= $indent . ReturnNativeToJSValue($function->signature, $return, $indent) . ";\n";
+    $result .= $indent . ReturnNativeToJSValue($function->signature, $return) . ";\n";
 
     return $result;
 }
@@ -3723,7 +3723,6 @@
 {
     my $signature = shift;
     my $value = shift;
-    my $indent = shift;
     my $type = GetTypeFromSignature($signature);
 
     return "v8Boolean($value)" if $type eq "boolean";
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to