Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/WebCore/bindings/scripts/CodeGeneratorV8.pm b/WebCore/bindings/scripts/CodeGeneratorV8.pm
- index 922da15..5791983 100644
- --- a/WebCore/bindings/scripts/CodeGeneratorV8.pm
- +++ b/WebCore/bindings/scripts/CodeGeneratorV8.pm
- @@ -40,6 +40,10 @@ my @implFixedHeader = ();
- my @implContent = ();
- my @implContentDecls = ();
- my %implIncludes = ();
- +my %headerInclues = ();
- +$headerIncludes{"wtf/text/StringHash.h"} = 1;
- +$headerIncludes{"WrapperTypeInfo.h"} = 1;
- +$headerIncludes{"V8DOMWrapper.h"} = 1;
- my @allParents = ();
- @@ -205,8 +209,11 @@ sub GetSVGPropertyTypes
- $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
- } elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
- $svgListPropertyType = $svgWrappedNativeType;
- - $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
- - $implIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
- + $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
- + $headerIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
- + } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
- + $svgListPropertyType = $svgWrappedNativeType;
- + $headerIncludes{"SVGPathSegListPropertyTearOff.h"} = 1;
- }
- if ($svgPropertyType) {
- @@ -234,11 +241,6 @@ sub GenerateHeader
- # - Add default header template
- push(@headerContent, GenerateHeaderContentHeader($dataNode));
- - my %headerInclues = ();
- - $headerIncludes{"wtf/text/StringHash.h"} = 1;
- - $headerIncludes{"WrapperTypeInfo.h"} = 1;
- - $headerIncludes{"V8DOMWrapper.h"} = 1;
- -
- my $headerClassInclude = GetHeaderClassInclude($implClassName);
- $headerIncludes{$headerClassInclude} = 1 if $headerClassInclude ne "";
Add Comment
Please, Sign In to add comment