Index: Source/bindings/scripts/code_generator_v8.py |
diff --git a/Source/bindings/scripts/code_generator_v8.py b/Source/bindings/scripts/code_generator_v8.py |
index 065873d90fd04bc2e58ffdbd3c2af4639b780cd0..b23f63f3d127eba4768229626ef010f676d28fd8 100644 |
--- a/Source/bindings/scripts/code_generator_v8.py |
+++ b/Source/bindings/scripts/code_generator_v8.py |
@@ -168,7 +168,10 @@ class CodeGeneratorV8(CodeGeneratorBase): |
template_context = interface_context(interface) |
# Add the include for interface itself |
- template_context['header_includes'].add(interface_info['include_path']) |
+ if IdlType(interface_name).is_typed_array: |
+ template_context['header_includes'].add('core/dom/DOMTypedArray.h') |
+ else: |
+ template_context['header_includes'].add(interface_info['include_path']) |
header_text, cpp_text = render_template( |
interface_info, header_template, cpp_template, template_context) |
header_path, cpp_path = self.output_paths(interface_name) |