Chromium Code Reviews| Index: Source/bindings/scripts/unstable/v8_attributes.py |
| diff --git a/Source/bindings/scripts/unstable/v8_attributes.py b/Source/bindings/scripts/unstable/v8_attributes.py |
| index 5091c91b7de2801e2a10cebe441cb35ca59f338b..c84049405c50168ff6cce2a22e7cc01a49a10500 100644 |
| --- a/Source/bindings/scripts/unstable/v8_attributes.py |
| +++ b/Source/bindings/scripts/unstable/v8_attributes.py |
| @@ -100,7 +100,7 @@ def generate_attribute(interface, attribute): |
| } |
| if is_constructor_attribute(attribute): |
| includes.update(v8_types.includes_for_type(idl_type)) |
| - return contents, includes |
| + return contents |
|
Nils Barth (inactive)
2013/10/25 05:32:06
...also one last "global includes" sync.
|
| if not has_custom_getter: |
| generate_getter(interface, attribute, contents) |
| if not attribute.is_read_only and not has_custom_setter: |
| @@ -346,7 +346,7 @@ def setter_callback_name_for_main_world(interface, attribute): |
| def wrapper_type_info(attribute): |
| if not is_constructor_attribute(attribute): |
| return '0' |
| - return '&V8%s::info' % v8_types.constructor_type(attribute.data_type) |
| + return 'const_cast<WrapperTypeInfo*>(&V8%s::wrapperTypeInfo)' % v8_types.constructor_type(attribute.data_type) |
| # [DoNotCheckSecurity], [DoNotCheckSecurityOnGetter], [DoNotCheckSecurityOnSetter], [Unforgeable] |