Changeset 149572 in webkit


Ignore:
Timestamp:
May 4, 2013 6:53:46 PM (11 years ago)
Author:
Christophe Dumez
Message:

Get rid of special cases in AddIncludesForTypeInImpl
https://bugs.webkit.org/show_bug.cgi?id=115602

Reviewed by Benjamin Poulain.

Get rid of the special cases in AddIncludesForTypeInImpl subroutine in the
JS bindings generator. Those are no longer needed and special cases should
be avoided in the generator.

No new tests, no behavior change.

  • bindings/scripts/CodeGeneratorJS.pm:

(AddIncludesForTypeInImpl):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149570 r149572  
     12013-05-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
     2
     3        Get rid of special cases in AddIncludesForTypeInImpl
     4        https://bugs.webkit.org/show_bug.cgi?id=115602
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Get rid of the special cases in AddIncludesForTypeInImpl subroutine in the
     9        JS bindings generator. Those are no longer needed and special cases should
     10        be avoided in the generator.
     11
     12        No new tests, no behavior change.
     13
     14        * bindings/scripts/CodeGeneratorJS.pm:
     15        (AddIncludesForTypeInImpl):
     16
    1172013-05-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
    218
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r149570 r149572  
    193193   
    194194    AddIncludesForType($type, $isCallback, \%implIncludes);
    195    
    196     # additional includes (things needed to compile the bindings but not the header)
    197     if ($type eq "CanvasRenderingContext2D") {
    198         $implIncludes{"CanvasGradient.h"} = 1;
    199         $implIncludes{"CanvasPattern.h"} = 1;
    200         $implIncludes{"CanvasStyle.h"} = 1;
    201     }
    202 
    203     if ($type eq "CanvasGradient" or $type eq "XPathNSResolver" or $type eq "MessagePort") {
    204         $implIncludes{"<wtf/text/WTFString.h>"} = 1;
    205     }
    206 
    207     if ($type eq "Document") {
    208         $implIncludes{"NodeFilter.h"} = 1;
    209     }
    210 
    211     if ($type eq "MediaQueryListListener") {
    212         $implIncludes{"MediaQueryListListener.h"} = 1;
    213     }
    214195}
    215196
Note: See TracChangeset for help on using the changeset viewer.