| Index: Source/bindings/scripts/deprecated_code_generator_v8.pm
|
| diff --git a/Source/bindings/scripts/deprecated_code_generator_v8.pm b/Source/bindings/scripts/deprecated_code_generator_v8.pm
|
| index ce077eefbe1f6408512706df8333bc54ee016185..ccb77497b11febcdc7e0570c06c30c8840e399ed 100644
|
| --- a/Source/bindings/scripts/deprecated_code_generator_v8.pm
|
| +++ b/Source/bindings/scripts/deprecated_code_generator_v8.pm
|
| @@ -913,17 +913,6 @@ END
|
| }
|
| }
|
|
|
| -sub HasEventHandlerAttribute
|
| -{
|
| - my $interface = shift;
|
| -
|
| - foreach my $attribute (@{$interface->attributes}) {
|
| - return 1 if $attribute->type eq "EventHandler";
|
| - }
|
| -
|
| - return 0;
|
| -}
|
| -
|
| sub GetInternalFields
|
| {
|
| my $interface = shift;
|
| @@ -931,7 +920,7 @@ sub GetInternalFields
|
| my @customInternalFields = ();
|
| # Event listeners on DOM nodes are explicitly supported in the GC controller.
|
| if (!InheritsInterface($interface, "Node") &&
|
| - (InheritsInterface($interface, "EventTarget") || HasEventHandlerAttribute($interface))) {
|
| + InheritsInterface($interface, "EventTarget")) {
|
| push(@customInternalFields, "eventListenerCacheIndex");
|
| }
|
| return @customInternalFields;
|
|
|