| Index: Source/bindings/modules/dart/custom/DartAudioContextCustom.cpp
|
| diff --git a/Source/bindings/modules/dart/custom/DartAudioContextCustom.cpp b/Source/bindings/modules/dart/custom/DartAudioContextCustom.cpp
|
| index 55941dbf41df92d17b25ec7c11fb85344eabe825..a370ec263b3375ed1dd1f5bfc63fbe692847aa09 100644
|
| --- a/Source/bindings/modules/dart/custom/DartAudioContextCustom.cpp
|
| +++ b/Source/bindings/modules/dart/custom/DartAudioContextCustom.cpp
|
| @@ -56,16 +56,16 @@ void decodeAudioDataCallback(Dart_NativeArguments args)
|
| if (exception)
|
| goto fail;
|
|
|
| - OwnPtr<AudioBufferCallback> successCallback = DartAudioBufferCallback::create(Dart_GetNativeArgument(args, 2), exception);
|
| + AudioBufferCallback* successCallback = DartAudioBufferCallback::create(Dart_GetNativeArgument(args, 2), exception);
|
| if (exception)
|
| goto fail;
|
|
|
| - OwnPtr<AudioBufferCallback> errorCallback = DartAudioBufferCallback::createWithNullCheck(Dart_GetNativeArgument(args, 3), exception);
|
| + AudioBufferCallback* errorCallback = DartAudioBufferCallback::createWithNullCheck(Dart_GetNativeArgument(args, 3), exception);
|
| if (exception)
|
| goto fail;
|
|
|
| DartExceptionState es;
|
| - receiver->decodeAudioData(audioData.get(), successCallback.release(), errorCallback.release(), es);
|
| + receiver->decodeAudioData(audioData.get(), successCallback, errorCallback, es);
|
| if (es.hadException()) {
|
| exception = es.toDart(args);
|
| goto fail;
|
|
|