Index: Source/bindings/scripts/unstable/v8_interface.py |
diff --git a/Source/bindings/scripts/unstable/v8_interface.py b/Source/bindings/scripts/unstable/v8_interface.py |
index a70fea8c0076195d415e64cab6f555644fde8218..50d8b76bf7cd10b7de55480da8af8ced841df9ef 100644 |
--- a/Source/bindings/scripts/unstable/v8_interface.py |
+++ b/Source/bindings/scripts/unstable/v8_interface.py |
@@ -69,6 +69,10 @@ def generate_interface(interface): |
header_includes.update(v8_types.includes_for_type(parent_interface)) |
extended_attributes = interface.extended_attributes |
+ is_audio_buffer = inherits_interface(interface, 'AudioBuffer') |
+ if is_audio_buffer: |
+ includes.add('modules/webaudio/AudioBuffer.h') |
+ |
# [CheckSecurity] |
is_check_security = 'CheckSecurity' in extended_attributes |
if is_check_security: |
@@ -152,6 +156,7 @@ def generate_interface(interface): |
interface_length(interface, constructors + custom_constructors), |
'interface_name': interface.name, |
'is_active_dom_object': 'ActiveDOMObject' in extended_attributes, # [ActiveDOMObject] |
+ 'is_audio_buffer': is_audio_buffer, |
'is_check_security': is_check_security, |
'is_constructor_call_with_document': has_extended_attribute_value( |
interface, 'ConstructorCallWith', 'Document'), # [ConstructorCallWith=Document] |