Index: Source/bindings/scripts/deprecated_generate_bindings.pl |
diff --git a/Source/bindings/scripts/deprecated_generate_bindings.pl b/Source/bindings/scripts/deprecated_generate_bindings.pl |
index 9e633db6f16014e1c9293630c3b94e170376d577..b61e23bf4ba2e162b08d3fbaf2d872ac74f3f50a 100755 |
--- a/Source/bindings/scripts/deprecated_generate_bindings.pl |
+++ b/Source/bindings/scripts/deprecated_generate_bindings.pl |
@@ -133,7 +133,7 @@ foreach my $idlFile (@dependencyIdlFiles) { |
# Support for attributes of partial interfaces. |
foreach my $attribute (@{$interface->attributes}) { |
# Record that this attribute is implemented by $interfaceName. |
- $attribute->extendedAttributes->{"ImplementedBy"} = $interfaceName if $interface->isPartial; |
+ $attribute->extendedAttributes->{"ImplementedBy"} = $interfaceName unless $interface->extendedAttributes->{"LegacyImplementedInBaseClass"}; |
# Add interface-wide extended attributes to each attribute. |
applyInterfaceExtendedAttributes($interface, $attribute->extendedAttributes); |
@@ -144,7 +144,7 @@ foreach my $idlFile (@dependencyIdlFiles) { |
# Support for methods of partial interfaces. |
foreach my $function (@{$interface->functions}) { |
# Record that this method is implemented by $interfaceName. |
- $function->extendedAttributes->{"ImplementedBy"} = $interfaceName if $interface->isPartial; |
+ $function->extendedAttributes->{"ImplementedBy"} = $interfaceName unless $interface->extendedAttributes->{"LegacyImplementedInBaseClass"}; |
# Add interface-wide extended attributes to each method. |
applyInterfaceExtendedAttributes($interface, $function->extendedAttributes); |
@@ -155,7 +155,7 @@ foreach my $idlFile (@dependencyIdlFiles) { |
# Support for constants of partial interfaces. |
foreach my $constant (@{$interface->constants}) { |
# Record that this constant is implemented by $interfaceName. |
- $constant->extendedAttributes->{"ImplementedBy"} = $interfaceName if $interface->isPartial; |
+ $constant->extendedAttributes->{"ImplementedBy"} = $interfaceName unless $interface->extendedAttributes->{"LegacyImplementedInBaseClass"}; |
# Add interface-wide extended attributes to each constant. |
applyInterfaceExtendedAttributes($interface, $constant->extendedAttributes); |