Title: [210231] trunk/Source/WebCore
Revision
210231
Author
[email protected]
Date
2017-01-02 18:56:11 -0800 (Mon, 02 Jan 2017)

Log Message

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (210230 => 210231)


--- trunk/Source/WebCore/ChangeLog	2017-01-03 02:40:45 UTC (rev 210230)
+++ trunk/Source/WebCore/ChangeLog	2017-01-03 02:56:11 UTC (rev 210231)
@@ -1,5 +1,15 @@
 2017-01-02  Yusuke Suzuki  <[email protected]>
 
+        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  <[email protected]>
+
         Use StaticStringImpl instead of StaticASCIILiteral
         https://bugs.webkit.org/show_bug.cgi?id=166586
 

Modified: trunk/Source/WebCore/bindings/scripts/StaticString.pm (210230 => 210231)


--- trunk/Source/WebCore/bindings/scripts/StaticString.pm	2017-01-03 02:40:45 UTC (rev 210230)
+++ trunk/Source/WebCore/bindings/scripts/StaticString.pm	2017-01-03 02:56:11 UTC (rev 210231)
@@ -38,21 +38,20 @@
 #pragma warning(push)
 #pragma warning(disable: 4307)
 #endif
+
 END
 
-    push(@result, "\n");
-
     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);
 
-    push(@result, <<END);
 #if COMPILER(MSVC)
 #pragma warning(pop)
 #endif
+
 END
 
     return join "", @result;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to