Index: Source/bindings/scripts/preprocess_idls.py |
diff --git a/Source/bindings/scripts/preprocess_idls.py b/Source/bindings/scripts/preprocess_idls.py |
index 8c5799dc6cacda7a50593eda2f655b3f892cd4c9..e9342121fcf7cdf95a4dfb7a36b31fa0831ef477 100644 |
--- a/Source/bindings/scripts/preprocess_idls.py |
+++ b/Source/bindings/scripts/preprocess_idls.py |
@@ -106,12 +106,7 @@ def generate_constructor_attribute_list(interface_name, extended_attributes): |
else: |
extended_string = '' |
- # FIXME: Remove this once we remove [InterfaceName] IDL attribute, http://crbug.com/242137 |
- if 'InterfaceName' in extended_attributes: |
- extended_interface_name = extended_attributes['InterfaceName'] |
- else: |
- extended_interface_name = interface_name |
- attribute_string = 'attribute %sConstructor %s' % (interface_name, extended_interface_name) |
+ attribute_string = 'attribute %(interface_name)sConstructor %(interface_name)s' % {'interface_name': interface_name} |
attributes_list = [extended_string + attribute_string] |
# In addition to the regular property, for every [NamedConstructor] |