| Index: lib/dom/scripts/generator.py
|
| diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
|
| index 2a8bab7544a98327368403e5c4cf80aac889055a..65b87e08714d45edf337e1a52eee606965a44d9b 100644
|
| --- a/lib/dom/scripts/generator.py
|
| +++ b/lib/dom/scripts/generator.py
|
| @@ -321,9 +321,7 @@ def IsDartCollectionType(type):
|
|
|
| def FindMatchingAttribute(interface, attr1):
|
| matches = [attr2 for attr2 in interface.attributes
|
| - if attr1.id == attr2.id
|
| - and attr1.is_fc_getter == attr2.is_fc_getter
|
| - and attr1.is_fc_setter == attr2.is_fc_setter]
|
| + if attr1.id == attr2.id]
|
| if matches:
|
| assert len(matches) == 1
|
| return matches[0]
|
| @@ -456,15 +454,6 @@ class OperationInfo(object):
|
| return self.type_name
|
|
|
|
|
| -def AttributeOutputOrder(a, b):
|
| - """Canonical output ordering for attributes."""
|
| - # Getters before setters:
|
| - if a.id < b.id: return -1
|
| - if a.id > b.id: return 1
|
| - if a.is_fc_setter < b.is_fc_setter: return -1
|
| - if a.is_fc_setter > b.is_fc_setter: return 1
|
| - return 0
|
| -
|
| def ConstantOutputOrder(a, b):
|
| """Canonical output ordering for constants."""
|
| if a.id < b.id: return -1
|
|
|