diff options
-rw-r--r-- | WebCore/bindings/scripts/CodeGeneratorV8.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/bindings/scripts/CodeGeneratorV8.pm b/WebCore/bindings/scripts/CodeGeneratorV8.pm index 078794b..7228d0c 100644 --- a/WebCore/bindings/scripts/CodeGeneratorV8.pm +++ b/WebCore/bindings/scripts/CodeGeneratorV8.pm @@ -272,8 +272,8 @@ sub GenerateHeader push(@headerContent, "\nnamespace WebCore {\n"); push(@headerContent, "\ntemplate<typename PODType> class V8SVGPODTypeWrapper;\n") if $podType; push(@headerContent, "\ntemplate<typename PropertyType> class SVGPropertyTearOff;\n") if $svgPropertyType; - if ($svgListPropertyType) { - if ($svgListPropertyType =~ /SVGStaticListPropertyTearOff/) { + if ($svgNativeType) { + if ($svgNativeType =~ /SVGStaticListPropertyTearOff/) { push(@headerContent, "\ntemplate<typename PropertyType> class SVGStaticListPropertyTearOff;\n"); } else { push(@headerContent, "\ntemplate<typename PropertyType> class SVGListPropertyTearOff;\n"); |