Index: Source/bindings/scripts/v8_utilities.py |
diff --git a/Source/bindings/scripts/v8_utilities.py b/Source/bindings/scripts/v8_utilities.py |
index 674a1b8d9969b08a53404147c1c7e289db1f73f4..478cded6e225d112ebac93168bca72f2fd02afc2 100644 |
--- a/Source/bindings/scripts/v8_utilities.py |
+++ b/Source/bindings/scripts/v8_utilities.py |
@@ -117,6 +117,8 @@ IdlType.enum_validation_expression = property(enum_validation_expression) |
def scoped_name(interface, definition, base_name): |
+ if 'ImplementedInPrivateScript' in definition.extended_attributes: |
+ return '%s::%s' % (v8_class_name(interface), base_name) |
# partial interfaces are implemented as separate classes, with their members |
# implemented as static member functions |
partial_interface_implemented_as = definition.extended_attributes.get('PartialInterfaceImplementedAs') |
@@ -125,8 +127,6 @@ def scoped_name(interface, definition, base_name): |
if (definition.is_static or |
definition.name in ('Constructor', 'NamedConstructor')): |
return '%s::%s' % (cpp_name(interface), base_name) |
- if 'ImplementedInPrivateScript' in definition.extended_attributes: |
- return '%s::%s' % (v8_class_name(interface), base_name) |
return 'impl->%s' % base_name |