Index: Source/bindings/dart/scripts/dart_attributes.py |
diff --git a/Source/bindings/dart/scripts/dart_attributes.py b/Source/bindings/dart/scripts/dart_attributes.py |
index 6205396e6bd3fee891eb2a31fc0be96599d3e8fc..6e295ca0c83fca0ddf5379fa5b31438e6f7e02b7 100644 |
--- a/Source/bindings/dart/scripts/dart_attributes.py |
+++ b/Source/bindings/dart/scripts/dart_attributes.py |
@@ -305,6 +305,7 @@ def generate_setter(interface, attribute, contents): |
(target_attribute_name, target_interface_name)) |
extended_attributes = attribute.extended_attributes |
+ interface_extended_attributes = interface.extended_attributes |
if 'PutForwards' in extended_attributes: |
# Use target attribute in place of original attribute |
@@ -327,7 +328,7 @@ def generate_setter(interface, attribute, contents): |
'cpp_setter': setter_expression(interface, attribute, contents), |
'dart_value_to_local_cpp_value': |
attribute.idl_type.dart_value_to_local_cpp_value( |
- extended_attributes, attribute.name, False, 1, |
+ interface_extended_attributes, extended_attributes, attribute.name, False, 1, |
contents['is_auto_scope']), |
}) |