Index: Source/bindings/scripts/deprecated_code_generator_v8.pm |
diff --git a/Source/bindings/scripts/deprecated_code_generator_v8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
index d427ea273b9b12641e4d6ab7cb0f7f3ba7b8f337..13dbc97358e412b55403a92bcd8376980db8e647 100644 |
--- a/Source/bindings/scripts/deprecated_code_generator_v8.pm |
+++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm |
@@ -213,7 +213,7 @@ my %svgTypeNeedingTearOff = ( |
"SVGNumber" => "SVGPropertyTearOff<float>", |
"SVGNumberList" => "SVGListPropertyTearOff<SVGNumberList>", |
"SVGPathSegList" => "SVGPathSegListPropertyTearOff", |
- "SVGPoint" => "SVGPropertyTearOff<FloatPoint>", |
+ "SVGPoint" => "SVGPropertyTearOff<SVGPoint>", |
"SVGPointList" => "SVGListPropertyTearOff<SVGPointList>", |
"SVGPreserveAspectRatio" => "SVGPropertyTearOff<SVGPreserveAspectRatio>", |
"SVGRect" => "SVGPropertyTearOff<FloatRect>", |
@@ -419,8 +419,8 @@ sub SkipIncludeHeader |
return 1 if IsCallbackFunctionType($type); |
return 1 if $type eq "DOMString"; |
- # Special case: SVGPoint.h / SVGNumber.h do not exist. |
- return 1 if $type eq "SVGPoint" or $type eq "SVGNumber"; |
+ # Special case: SVGNumber.h does not exist. |
+ return 1 if $type eq "SVGNumber"; |
return 0; |
} |
@@ -527,10 +527,6 @@ sub GetSVGPropertyTypes |
AddToHeaderIncludes("core/svg/properties/SVGPathSegListPropertyTearOff.h"); |
} |
- if ($svgPropertyType) { |
- $svgPropertyType = "SVGPoint" if $svgPropertyType eq "FloatPoint"; |
- } |
- |
return ($svgPropertyType, $svgListPropertyType, $svgNativeType); |
} |