⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 157615 in webkit


Ignore:
Timestamp:
Oct 17, 2013, 5:52:54 PM (13 years ago)
Author:
ap@apple.com
Message:

Don't add an include for return type of a [Custom] function in generated bindings code
https://bugs.webkit.org/show_bug.cgi?id=122972

Reviewed by Sam Weinig.

  • bindings/scripts/CodeGeneratorJS.pm: (GenerateImplementation): Don't.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r157613 r157615  
     12013-10-17  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Don't add an include for return type of a [Custom] function in generated bindings code
     4        https://bugs.webkit.org/show_bug.cgi?id=122972
     5
     6        Reviewed by Sam Weinig.
     7
     8        * bindings/scripts/CodeGeneratorJS.pm: (GenerateImplementation): Don't.
     9
    1102013-10-17  Andreas Kling  <akling@apple.com>
    211
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r157486 r157615  
    23312331    if ($numFunctions > 0) {
    23322332        foreach my $function (@{$interface->functions}) {
    2333             AddIncludesForTypeInImpl($function->signature->type);
    2334 
    23352333            my $isCustom = HasCustomMethod($function->signature->extendedAttributes);
    23362334            my $isOverloaded = $function->{overloads} && @{$function->{overloads}} > 1;
     
    23382336
    23392337            next if $isCustom && $isOverloaded && $function->{overloadIndex} > 1;
     2338
     2339            AddIncludesForTypeInImpl($function->signature->type) unless $isCustom;
    23402340
    23412341            my $functionName = GetFunctionName($className, $function);
Note: See TracChangeset for help on using the changeset viewer.