Title: [114391] trunk/Source/WebCore
Revision
114391
Author
commit-qu...@webkit.org
Date
2012-04-17 10:12:19 -0700 (Tue, 17 Apr 2012)

Log Message

Script make_names.pl should generate consistent .h & .cpp files
https://bugs.webkit.org/show_bug.cgi?id=84140

Patch by Vivek Galatage <vivekgalat...@gmail.com> on 2012-04-17
Reviewed by Kentaro Hara.

Added a newline character and removed ';' after the DEFINE_GLOBAL

No test cases required for this change.

* dom/make_names.pl:
(printNamesCppFile):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114390 => 114391)


--- trunk/Source/WebCore/ChangeLog	2012-04-17 17:09:40 UTC (rev 114390)
+++ trunk/Source/WebCore/ChangeLog	2012-04-17 17:12:19 UTC (rev 114391)
@@ -1,3 +1,17 @@
+2012-04-17  Vivek Galatage  <vivekgalat...@gmail.com>
+
+        Script make_names.pl should generate consistent .h & .cpp files
+        https://bugs.webkit.org/show_bug.cgi?id=84140
+
+        Reviewed by Kentaro Hara.
+
+        Added a newline character and removed ';' after the DEFINE_GLOBAL
+
+        No test cases required for this change.
+
+        * dom/make_names.pl:
+        (printNamesCppFile):
+
 2012-04-17  Aaron Colwell  <acolw...@chromium.org>
 
         Add webkitSourceAddId() & webkitSourceRemoveId() to HTMLMediaElement

Modified: trunk/Source/WebCore/dom/make_names.pl (114390 => 114391)


--- trunk/Source/WebCore/dom/make_names.pl	2012-04-17 17:09:40 UTC (rev 114390)
+++ trunk/Source/WebCore/dom/make_names.pl	2012-04-17 17:12:19 UTC (rev 114391)
@@ -622,12 +622,12 @@
     
     my $lowerNamespace = lc($parameters{namespacePrefix});
 
-    print F "DEFINE_GLOBAL(AtomicString, ${lowerNamespace}NamespaceURI, \"$parameters{namespaceURI}\")";
+    print F "DEFINE_GLOBAL(AtomicString, ${lowerNamespace}NamespaceURI, \"$parameters{namespaceURI}\")\n\n";
 
     if (keys %allTags) {
         print F "// Tags\n";
         for my $name (sort keys %allTags) {
-            print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Tag, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n";
+            print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Tag, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI)\n";
         }
         
         print F "\n\nWebCore::QualifiedName** get$parameters{namespace}Tags(size_t* size)\n";
@@ -644,7 +644,7 @@
     if (keys %allAttrs) {
         print F "\n// Attributes\n";
         for my $name (sort keys %allAttrs) {
-            print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Attr, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI);\n";
+            print F "DEFINE_GLOBAL(QualifiedName, ", $name, "Attr, nullAtom, \"$name\", ${lowerNamespace}NamespaceURI)\n";
         }
         print F "\n\nWebCore::QualifiedName** get$parameters{namespace}Attrs(size_t* size)\n";
         print F "{\n    static WebCore::QualifiedName* $parameters{namespace}Attr[] = {\n";
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to