Changeset 149570 in webkit


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

Get rid of AddIncludesForSVGAnimatedType in bindings generator
https://bugs.webkit.org/show_bug.cgi?id=115603

Reviewed by Benjamin Poulain.

Remove AddIncludesForSVGAnimatedType subroutine from the bindings generator
as it is a special case which is no longer needed.

No new tests, no behavior change.

  • bindings/scripts/CodeGeneratorJS.pm:

(GenerateImplementation):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149569 r149570  
     12013-05-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
     2
     3        Get rid of AddIncludesForSVGAnimatedType in bindings generator
     4        https://bugs.webkit.org/show_bug.cgi?id=115603
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        Remove AddIncludesForSVGAnimatedType subroutine from the bindings generator
     9        as it is a special case which is no longer needed.
     10
     11        No new tests, no behavior change.
     12
     13        * bindings/scripts/CodeGeneratorJS.pm:
     14        (GenerateImplementation):
     15
    1162013-05-04  Antoine Quint  <graouts@apple.com>
    217
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r149356 r149570  
    250250        # default, include the same named file
    251251        $includesRef->{"${type}.h"} = 1;
    252     }
    253 }
    254 
    255 # FIXME: This method will go away once all SVG animated properties are converted to the new scheme.
    256 sub AddIncludesForSVGAnimatedType
    257 {
    258     my $type = shift;
    259     $type =~ s/SVGAnimated//;
    260 
    261     if ($type eq "Point" or $type eq "Rect") {
    262         $implIncludes{"Float$type.h"} = 1;
    263     } elsif ($type eq "String") {
    264         $implIncludes{"<wtf/text/WTFString.h>"} = 1;
    265252    }
    266253}
     
    15561543    # - Add default header template
    15571544    push(@implContentHeader, GenerateImplementationContentHeader($interface));
    1558 
    1559     AddIncludesForSVGAnimatedType($interfaceName) if $className =~ /^JSSVGAnimated/;
    15601545
    15611546    $implIncludes{"<wtf/GetPtr.h>"} = 1;
Note: See TracChangeset for help on using the changeset viewer.