Index: third_party/WebKit/Source/bindings/scripts/v8_types.py |
diff --git a/third_party/WebKit/Source/bindings/scripts/v8_types.py b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
index 6fcbe63720776dc8f650397d49b3e84f82d65448..6116815f6b126d1b1f449f0caa206f09011196b9 100644 |
--- a/third_party/WebKit/Source/bindings/scripts/v8_types.py |
+++ b/third_party/WebKit/Source/bindings/scripts/v8_types.py |
@@ -465,6 +465,20 @@ IdlTypeBase.impl_includes_for_type = impl_includes_for_type |
IdlUnionType.impl_includes_for_type = impl_includes_for_type_union |
+def impl_forward_declaration_name(idl_type): |
+ element_type = idl_type.native_array_element_type |
+ if element_type: |
+ return element_type.impl_forward_declaration_name |
+ |
+ if idl_type.is_wrapper_type and not idl_type.is_typed_array: |
+ return idl_type.implemented_as |
+ return None |
+ |
+ |
+IdlTypeBase.impl_forward_declaration_name = property( |
+ impl_forward_declaration_name) |
+ |
+ |
component_dir = {} |