17 lines
902 B
Diff
17 lines
902 B
Diff
diff --git a/third_party/blink/renderer/modules/webaudio/audio_buffer.idl b/third_party/blink/renderer/modules/webaudio/audio_buffer.idl
|
|
index 48bf56bf8254266341f57c9636dd7ea4e0fb9dc2..028992d4f88fced1982fdf04fb2ed951e14cf81c 100644
|
|
--- a/third_party/blink/renderer/modules/webaudio/audio_buffer.idl
|
|
+++ b/third_party/blink/renderer/modules/webaudio/audio_buffer.idl
|
|
@@ -37,9 +37,9 @@
|
|
|
|
// Channel access
|
|
readonly attribute unsigned long numberOfChannels;
|
|
- [Measure, RaisesException] Float32Array getChannelData(
|
|
+ [CallWith=ScriptState, Measure, RaisesException] Float32Array getChannelData(
|
|
unsigned long channelIndex);
|
|
- [Measure, RaisesException] void copyFromChannel(
|
|
+ [CallWith=ScriptState, Measure, RaisesException] void copyFromChannel(
|
|
Float32Array destination,
|
|
unsigned long channelNumber,
|
|
optional unsigned long bufferOffset = 0);
|