Changeset 71232 in webkit
- Timestamp:
- Nov 3, 2010 5:15:21 AM (13 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r71230 r71232 1 2010-11-03 Nikolas Zimmermann <nzimmermann@rim.com> 2 3 Not reviewed. 4 5 Convert SVGAnimatedString/SVGStringList to the new SVG*PropertyTearOff concept 6 https://bugs.webkit.org/show_bug.cgi?id=48898 7 8 Fix Chromium/V8 build for real, verified using a local ToT Chromium build. 9 10 * bindings/scripts/CodeGeneratorV8.pm: 11 1 12 2010-11-03 Nikolas Zimmermann <nzimmermann@rim.com> 2 13 -
trunk/WebCore/bindings/scripts/CodeGeneratorV8.pm
r71230 r71232 229 229 } elsif ($svgNativeType =~ /SVGStringListPropertyTearOff/) { 230 230 $svgListPropertyType = "SVGStringList"; 231 $implIncludes{"SVGStringListPropertyTearOff.h"} = 1;232 231 $implIncludes{"$svgWrappedNativeType.h"} = 1; 233 232 } … … 276 275 push(@headerContent, "\ntemplate<typename PODType> class V8SVGPODTypeWrapper;\n") if $podType; 277 276 push(@headerContent, "\ntemplate<typename PropertyType> class SVGPropertyTearOff;\n") if $svgPropertyType; 278 if ($svgListPropertyType eq "SVGStringList") { 279 push(@headerContent, "\nclass SVGStringListPropertyTearOff;\n"); 280 } else { 281 push(@headerContent, "\ntemplate<typename PropertyType> class SVGListPropertyTearOff;\n"); 277 if ($svgListPropertyType) { 278 if ($svgListPropertyType eq "SVGStringList") { 279 push(@headerContent, "\nclass SVGStringListPropertyTearOff;\n"); 280 } else { 281 push(@headerContent, "\ntemplate<typename PropertyType> class SVGListPropertyTearOff;\n"); 282 } 282 283 } 283 284 push(@headerContent, "\nclass $className {\n"); … … 752 753 } elsif ($svgNativeType) { 753 754 my $svgWrappedNativeType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($implClassName); 754 if ($svgWrappedNativeType =~ /List$/ ) {755 if ($svgWrappedNativeType =~ /List$/ or $implClassName eq "SVGStringList") { 755 756 push(@implContentDecls, <<END); 756 757 $svgNativeType* imp = V8${implClassName}::toNative(info.Holder()); … … 932 933 my $tearOffType = $codeGenerator->GetSVGTypeNeedingTearOff($attrType); 933 934 if ($tearOffType eq "SVGStringListPropertyTearOff") { 935 $implIncludes{"SVGStringListPropertyTearOff.h"} = 1; 934 936 my $extraImp = "GetOwnerElementForType<$implClassName, IsDerivedFromSVGElement<$implClassName>::value>::ownerElement(imp), "; 935 937 push(@implContentDecls, " return toV8(WTF::getPtr(${tearOffType}::create($extraImp$result)));\n");
Note: See TracChangeset
for help on using the changeset viewer.