| Index: Source/bindings/scripts/v8_attributes.py
|
| diff --git a/Source/bindings/scripts/v8_attributes.py b/Source/bindings/scripts/v8_attributes.py
|
| index bc4355c732fdd9107047fdd63c353c8f7f4ab40b..b9972b2c771293fe6b692f164f28b607f0b9fe6d 100644
|
| --- a/Source/bindings/scripts/v8_attributes.py
|
| +++ b/Source/bindings/scripts/v8_attributes.py
|
| @@ -429,14 +429,20 @@ def scoped_content_attribute_name(interface, attribute):
|
| # [Replaceable]
|
| def setter_callback_name(interface, attribute):
|
| cpp_class_name = cpp_name(interface)
|
| + namespace_name = [cpp_class_name]
|
| + if interface.original_interface:
|
| + namespace_name.append('Partial')
|
| + namespace_name.append('V8Internal')
|
| +
|
| extended_attributes = attribute.extended_attributes
|
| if (('Replaceable' in extended_attributes and
|
| 'PutForwards' not in extended_attributes) or
|
| is_constructor_attribute(attribute)):
|
| - return '{0}V8Internal::{0}ForceSetAttributeOnThisCallback'.format(cpp_class_name)
|
| + return '%s::%sForceSetAttributeOnThisCallback' % (
|
| + ''.join(namespace_name), cpp_class_name)
|
| if attribute.is_read_only and 'PutForwards' not in extended_attributes:
|
| return '0'
|
| - return '%sV8Internal::%sAttributeSetterCallback' % (cpp_class_name, attribute.name)
|
| + return '%s::%sAttributeSetterCallback' % (''.join(namespace_name), attribute.name)
|
|
|
|
|
| # [DoNotCheckSecurity], [Unforgeable]
|
|
|