| Index: third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/v8_interface.py b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| index 35edaee63b7760b5f65161ff9e53d07ba6b0aabc..c717e7cd759e85018a7e2f55a12d29d840ce897b 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_interface.py
|
| @@ -302,9 +302,13 @@ def interface_context(interface):
|
| attribute['is_data_type_property'] and
|
| attribute['should_be_exposed_to_script']
|
| for attribute in attributes),
|
| - 'has_constructor_attributes': any(attribute['constructor_type'] for attribute in attributes),
|
| - 'needs_constructor_setter_callback': any(attribute['constructor_type'] == attribute['name'] for attribute in attributes),
|
| - 'has_replaceable_attributes': any(attribute['is_replaceable'] for attribute in attributes),
|
| + 'has_constructor_attributes': any(
|
| + attribute['constructor_type']
|
| + for attribute in attributes),
|
| + 'has_replaceable_attributes': any(
|
| + attribute['is_replaceable'] and
|
| + not attribute['is_data_type_property']
|
| + for attribute in attributes),
|
| })
|
|
|
| # Methods
|
|
|