| Index: Source/bindings/scripts/v8_attributes.py
|
| diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
|
| index 6af95ae469f84343c1992d6187e1035d3f8f0be8..d17018ab2ccf8ea5a41bf336a7b40051df2687c3 100644
|
| --- a/Source/bindings/scripts/v8_attributes.py
|
| +++ b/Source/bindings/scripts/v8_attributes.py
|
| @@ -137,6 +137,7 @@ def generate_attribute(interface, attribute):
|
| }
|
|
|
| if is_constructor_attribute(attribute):
|
| + generate_constructor_getter(interface, attribute, contents)
|
| return contents
|
| if not has_custom_getter:
|
| generate_getter(interface, attribute, contents)
|
| @@ -396,3 +397,7 @@ def property_attributes(attribute):
|
|
|
| def is_constructor_attribute(attribute):
|
| return attribute.idl_type.endswith('Constructor')
|
| +
|
| +
|
| +def generate_constructor_getter(interface, attribute, contents):
|
| + contents['needs_constructor_callback'] = contents['measure_as'] or contents['deprecate_as']
|
|
|