Changeset 147041 in webkit


Ignore:
Timestamp:
Mar 27, 2013 6:11:26 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

remove parentsOnly variable in codeGenerator.pm
https://bugs.webkit.org/show_bug.cgi?id=113457

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2013-03-27
Reviewed by Kentaro Hara.

Remove unused variable parentsOnly.

No new tests: no change in behaviour.

  • bindings/scripts/CodeGenerator.pm:

(ForAllParents):
(AddMethodsConstantsAndAttributesFromParentInterfaces):
(ParseInterface):
(InheritsInterface):
(InheritsExtendedAttribute):

  • bindings/scripts/CodeGeneratorV8.pm:

(BaseInterfaceName):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r147039 r147041  
     12013-03-27  Arnaud Renevier  <a.renevier@sisa.samsung.com>
     2
     3        remove parentsOnly variable in codeGenerator.pm
     4        https://bugs.webkit.org/show_bug.cgi?id=113457
     5
     6        Reviewed by Kentaro Hara.
     7
     8        Remove unused variable parentsOnly.
     9
     10        No new tests: no change in behaviour.
     11
     12        * bindings/scripts/CodeGenerator.pm:
     13        (ForAllParents):
     14        (AddMethodsConstantsAndAttributesFromParentInterfaces):
     15        (ParseInterface):
     16        (InheritsInterface):
     17        (InheritsExtendedAttribute):
     18        * bindings/scripts/CodeGeneratorV8.pm:
     19        (BaseInterfaceName):
     20
    1212013-03-27  Beth Dakin  <bdakin@apple.com>
    222
  • trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm

    r147037 r147041  
    176176    my $beforeRecursion = shift;
    177177    my $afterRecursion = shift;
    178     my $parentsOnly = shift;
    179178
    180179    my $recurse;
     
    184183        for (@{$currentInterface->parents}) {
    185184            my $interfaceName = $_;
    186             my $parentInterface = $object->ParseInterface($interfaceName, $parentsOnly);
     185            my $parentInterface = $object->ParseInterface($interfaceName);
    187186
    188187            if ($beforeRecursion) {
     
    227226                    my $currentInterface = shift;
    228227                    push(@$parents, $currentInterface->name);
    229                 }, undef, 1);
     228                }, undef);
    230229            }
    231230
     
    291290    my $object = shift;
    292291    my $interfaceName = shift;
    293     my $parentsOnly = shift;
    294292
    295293    return undef if $interfaceName eq 'Object';
     
    307305    # Step #2: Parse the found IDL file (in quiet mode).
    308306    my $parser = IDLParser->new(1);
    309     my $document = $parser->Parse($filename, $defines, $preprocessor, $parentsOnly);
     307    my $document = $parser->Parse($filename, $defines, $preprocessor);
    310308
    311309    foreach my $interface (@{$document->interfaces}) {
     
    778776        }
    779777        return 1 if $found;
    780     }, 0, 1);
     778    }, 0);
    781779
    782780    return $found;
     
    797795        }
    798796        return 1 if $found;
    799     }, 0, 1);
     797    }, 0);
    800798
    801799    return $found;
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm

    r146785 r147041  
    36813681
    36823682    while (@{$interface->parents}) {
    3683         $interface = $codeGenerator->ParseInterface(@{$interface->parents}[0], 1);
     3683        $interface = $codeGenerator->ParseInterface(@{$interface->parents}[0]);
    36843684    }
    36853685
Note: See TracChangeset for help on using the changeset viewer.