Index: third_party/WebKit/Source/modules/webaudio/AudioContext.idl |
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioContext.idl b/third_party/WebKit/Source/modules/webaudio/AudioContext.idl |
index 824281080d8fd7ce8d12983df9dbbd49947b26f3..f49eaa398c687b591023db74608452dd4efa7724 100644 |
--- a/third_party/WebKit/Source/modules/webaudio/AudioContext.idl |
+++ b/third_party/WebKit/Source/modules/webaudio/AudioContext.idl |
@@ -57,14 +57,14 @@ enum AudioContextState { |
[RaisesException] AudioBuffer createBuffer(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate); |
// Asynchronous audio file data decoding. |
- [RaisesException, MeasureAs=AudioContextDecodeAudioData] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, optional AudioBufferCallback errorCallback); |
+ [RaisesException, MeasureAs=AudioContextDecodeAudioData, LegacyInterfaceTypeChecking] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, optional AudioBufferCallback errorCallback); |
// Sources |
[RaisesException, MeasureAs=AudioContextCreateBufferSource] AudioBufferSourceNode createBufferSource(); |
- [RaisesException, MeasureAs=AudioContextCreateMediaElementSource] MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement); |
+ [RaisesException, MeasureAs=AudioContextCreateMediaElementSource, LegacyInterfaceTypeChecking] MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaElement); |
- [RaisesException, MeasureAs=AudioContextCreateMediaStreamSource, RaisesException] MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream); |
+ [RaisesException, MeasureAs=AudioContextCreateMediaStreamSource, RaisesException, LegacyInterfaceTypeChecking] MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream); |
[RaisesException, MeasureAs=AudioContextCreateMediaStreamDestination] MediaStreamAudioDestinationNode createMediaStreamDestination(); |
// Processing nodes |
@@ -79,7 +79,7 @@ enum AudioContextState { |
[RaisesException, MeasureAs=AudioContextCreateScriptProcessor, RaisesException] ScriptProcessorNode createScriptProcessor(optional unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels); |
[RaisesException, MeasureAs=AudioContextCreateStereoPanner] StereoPannerNode createStereoPanner(); |
[RaisesException, MeasureAs=AudioContextCreateOscillator] OscillatorNode createOscillator(); |
- [RaisesException, MeasureAs=AudioContextCreatePeriodicWave, RaisesException] PeriodicWave createPeriodicWave(Float32Array real, Float32Array imag, optional Dictionary options); |
+ [RaisesException, MeasureAs=AudioContextCreatePeriodicWave, RaisesException, LegacyInterfaceTypeChecking] PeriodicWave createPeriodicWave(Float32Array real, Float32Array imag, optional Dictionary options); |
// Channel splitting and merging |
[RaisesException, MeasureAs=AudioContextCreateChannelSplitter] ChannelSplitterNode createChannelSplitter(optional unsigned long numberOfOutputs); |