summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2010-11-11 17:35:28 -0800
committerTeng-Hui Zhu <ztenghui@google.com>2010-11-17 13:36:01 -0800
commit0a749cdd1f98f3cb4243ab12cd58a46b9858e06b (patch)
tree34e99b4a02095afd36f9aa5109514b86e01bd929
parent3c9adc5563bf18c30e1d717da11863b1b76fea7b (diff)
downloadexternal_webkit-0a749cdd1f98f3cb4243ab12cd58a46b9858e06b.zip
external_webkit-0a749cdd1f98f3cb4243ab12cd58a46b9858e06b.tar.gz
external_webkit-0a749cdd1f98f3cb4243ab12cd58a46b9858e06b.tar.bz2
Merge Webkit at r71558: fix code generation script
This is a cherry pick of webkit change. http://trac.webkit.org/changeset/71984 Change-Id: I7bc944b6e9105a3cbfa52be305b7bd4755205244
-rw-r--r--WebCore/bindings/scripts/CodeGeneratorV8.pm4
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");