Guest User

Untitled

a guest
Jul 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. diff --git a/WebCore/bindings/scripts/CodeGeneratorV8.pm b/WebCore/bindings/scripts/CodeGeneratorV8.pm
  2. index 922da15..5791983 100644
  3. --- a/WebCore/bindings/scripts/CodeGeneratorV8.pm
  4. +++ b/WebCore/bindings/scripts/CodeGeneratorV8.pm
  5. @@ -40,6 +40,10 @@ my @implFixedHeader = ();
  6. my @implContent = ();
  7. my @implContentDecls = ();
  8. my %implIncludes = ();
  9. +my %headerInclues = ();
  10. +$headerIncludes{"wtf/text/StringHash.h"} = 1;
  11. +$headerIncludes{"WrapperTypeInfo.h"} = 1;
  12. +$headerIncludes{"V8DOMWrapper.h"} = 1;
  13.  
  14. my @allParents = ();
  15.  
  16. @@ -205,8 +209,11 @@ sub GetSVGPropertyTypes
  17. $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
  18. } elsif ($svgNativeType =~ /SVGTransformListPropertyTearOff/) {
  19. $svgListPropertyType = $svgWrappedNativeType;
  20. - $implIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
  21. - $implIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
  22. + $headerIncludes{"SVGAnimatedListPropertyTearOff.h"} = 1;
  23. + $headerIncludes{"SVGTransformListPropertyTearOff.h"} = 1;
  24. + } elsif ($svgNativeType =~ /SVGPathSegListPropertyTearOff/) {
  25. + $svgListPropertyType = $svgWrappedNativeType;
  26. + $headerIncludes{"SVGPathSegListPropertyTearOff.h"} = 1;
  27. }
  28.  
  29. if ($svgPropertyType) {
  30. @@ -234,11 +241,6 @@ sub GenerateHeader
  31. # - Add default header template
  32. push(@headerContent, GenerateHeaderContentHeader($dataNode));
  33.  
  34. - my %headerInclues = ();
  35. - $headerIncludes{"wtf/text/StringHash.h"} = 1;
  36. - $headerIncludes{"WrapperTypeInfo.h"} = 1;
  37. - $headerIncludes{"V8DOMWrapper.h"} = 1;
  38. -
  39. my $headerClassInclude = GetHeaderClassInclude($implClassName);
  40. $headerIncludes{$headerClassInclude} = 1 if $headerClassInclude ne "";
Add Comment
Please, Sign In to add comment