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 5f20bfce68eb46bd045455e9a00d007ca5fd900e..fc39b761026cb4ad5a7bb22c2031b36f91ae94a5 100644 |
--- a/Source/bindings/scripts/unstable/v8_interface.py |
+++ b/Source/bindings/scripts/unstable/v8_interface.py |
@@ -70,6 +70,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.name, 'AudioBuffer') |
+ if is_audio_buffer: |
+ includes.add('modules/webaudio/AudioBuffer.h') |
+ |
is_document = inherits_interface(interface.name, 'Document') |
if is_document: |
includes.update(['bindings/v8/ScriptController.h', |
@@ -159,6 +163,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] |