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
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
#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;