Changeset 155868 in webkit
- Timestamp:
- Sep 16, 2013 9:19:01 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r155865 r155868 1 2013-09-16 peavo@outlook.com <peavo@outlook.com> 2 3 [Win] Compile errors in WebCore derived sources. 4 https://bugs.webkit.org/show_bug.cgi?id=121420 5 6 Reviewed by Brent Fulgham. 7 8 * dom/make_names.pl: 9 (printNamesCppFile): Added const modifier. 10 (printDefinitions): Use C style cast. 11 1 12 2013-09-16 Hans Muller <hmuller@adobe.com> 2 13 -
trunk/Source/WebCore/dom/make_names.pl
r155834 r155868 726 726 print F "{\n static const WebCore::QualifiedName* const $parameters{namespace}Tags[] = {\n"; 727 727 for my $name (sort keys %allTags) { 728 print F " reinterpret_cast< WebCore::QualifiedName*>(&${name}Tag),\n";728 print F " reinterpret_cast<const WebCore::QualifiedName*>(&${name}Tag),\n"; 729 729 } 730 730 print F " };\n"; … … 741 741 print F "{\n static const WebCore::QualifiedName* const $parameters{namespace}Attrs[] = {\n"; 742 742 for my $name (sort keys %allAttrs) { 743 print F " reinterpret_cast< WebCore::QualifiedName*>(&${name}Attr),\n";743 print F " reinterpret_cast<const WebCore::QualifiedName*>(&${name}Attr),\n"; 744 744 } 745 745 print F " };\n"; … … 753 753 754 754 print(F " // Namespace\n"); 755 print(F " new (NotNull, static_cast<void*>(&${lowerNamespace}NamespaceURI)) AtomicString(${lowerNamespace}NS);\n");755 print(F " new (NotNull, (void*)&${lowerNamespace}NamespaceURI) AtomicString(${lowerNamespace}NS);\n"); 756 756 print(F "\n"); 757 757 print F StaticString::GenerateStringAsserts(\%allStrings); … … 864 864 ; 865 865 for my $name (sort keys %$namesRef) { 866 print F " { &$name$shortCamelType, *${name}Impl },\n";866 print F " { (void*)&$name$shortCamelType, *${name}Impl },\n"; 867 867 } 868 868
Note: See TracChangeset
for help on using the changeset viewer.