Index: client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart |
diff --git a/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart b/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart |
index e63db66957732e5a1fb1d2387f26d7a646593a8b..c9bb500159049324581ddbbf37b5d133fc953c7d 100644 |
--- a/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart |
+++ b/client/dom/generated/src/wrapping/_AudioContextWrappingImplementation.dart |
@@ -124,16 +124,10 @@ class _AudioContextWrappingImplementation extends DOMWrapperBase implements Audi |
static WaveShaperNode _createWaveShaper(receiver) native; |
void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, [AudioBufferCallback errorCallback = null]) { |
- if (errorCallback === null) { |
- _decodeAudioData(this, audioData, successCallback); |
- return; |
- } else { |
- _decodeAudioData_2(this, audioData, successCallback, errorCallback); |
- return; |
- } |
+ _decodeAudioData(this, audioData, successCallback, errorCallback); |
+ return; |
} |
- static void _decodeAudioData(receiver, audioData, successCallback) native; |
- static void _decodeAudioData_2(receiver, audioData, successCallback, errorCallback) native; |
+ static void _decodeAudioData(receiver, audioData, successCallback, errorCallback) native; |
void startRendering() { |
_startRendering(this); |