Changeset 147041 in webkit
- Timestamp:
- Mar 27, 2013 6:11:26 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147039 r147041 1 2013-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 1 21 2013-03-27 Beth Dakin <bdakin@apple.com> 2 22 -
trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm
r147037 r147041 176 176 my $beforeRecursion = shift; 177 177 my $afterRecursion = shift; 178 my $parentsOnly = shift;179 178 180 179 my $recurse; … … 184 183 for (@{$currentInterface->parents}) { 185 184 my $interfaceName = $_; 186 my $parentInterface = $object->ParseInterface($interfaceName , $parentsOnly);185 my $parentInterface = $object->ParseInterface($interfaceName); 187 186 188 187 if ($beforeRecursion) { … … 227 226 my $currentInterface = shift; 228 227 push(@$parents, $currentInterface->name); 229 }, undef , 1);228 }, undef); 230 229 } 231 230 … … 291 290 my $object = shift; 292 291 my $interfaceName = shift; 293 my $parentsOnly = shift;294 292 295 293 return undef if $interfaceName eq 'Object'; … … 307 305 # Step #2: Parse the found IDL file (in quiet mode). 308 306 my $parser = IDLParser->new(1); 309 my $document = $parser->Parse($filename, $defines, $preprocessor , $parentsOnly);307 my $document = $parser->Parse($filename, $defines, $preprocessor); 310 308 311 309 foreach my $interface (@{$document->interfaces}) { … … 778 776 } 779 777 return 1 if $found; 780 }, 0 , 1);778 }, 0); 781 779 782 780 return $found; … … 797 795 } 798 796 return 1 if $found; 799 }, 0 , 1);797 }, 0); 800 798 801 799 return $found; -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r146785 r147041 3681 3681 3682 3682 while (@{$interface->parents}) { 3683 $interface = $codeGenerator->ParseInterface(@{$interface->parents}[0] , 1);3683 $interface = $codeGenerator->ParseInterface(@{$interface->parents}[0]); 3684 3684 } 3685 3685
Note: See TracChangeset
for help on using the changeset viewer.