Unreviewed, follow-up fix for r210227
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jan 2017 02:56:11 +0000 (02:56 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jan 2017 02:56:11 +0000 (02:56 +0000)
https://bugs.webkit.org/show_bug.cgi?id=166586

Suggested in the above bug.

* bindings/scripts/StaticString.pm:
(GenerateStrings):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210231 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/StaticString.pm

index 7e2371e..4fcb2b8 100644 (file)
@@ -1,5 +1,15 @@
 2017-01-02  Yusuke Suzuki  <utatane.tea@gmail.com>
 
+        Unreviewed, follow-up fix for r210227
+        https://bugs.webkit.org/show_bug.cgi?id=166586
+
+        Suggested in the above bug.
+
+        * bindings/scripts/StaticString.pm:
+        (GenerateStrings):
+
+2017-01-02  Yusuke Suzuki  <utatane.tea@gmail.com>
+
         Use StaticStringImpl instead of StaticASCIILiteral
         https://bugs.webkit.org/show_bug.cgi?id=166586
 
index 8de855f..9ba0c70 100644 (file)
@@ -38,21 +38,20 @@ sub GenerateStrings($)
 #pragma warning(push)
 #pragma warning(disable: 4307)
 #endif
-END
 
-    push(@result, "\n");
+END
 
     for my $name (sort keys %strings) {
         my $value = $strings{$name};
         push(@result, "static StringImpl::StaticStringImpl ${name}Data(\"${value}\");\n");
     }
 
-    push(@result, "\n");
-
     push(@result, <<END);
+
 #if COMPILER(MSVC)
 #pragma warning(pop)
 #endif
+
 END
 
     return join "", @result;