Index: Source/modules/webmidi/MIDIAccessInitializer.h |
diff --git a/Source/modules/webmidi/MIDIAccessInitializer.h b/Source/modules/webmidi/MIDIAccessInitializer.h |
index 9f18ac1ebb14756986a853a88585e72fcea2fcf9..943ad4d0dc652b59f025bc5097c0d0b8965fc96b 100644 |
--- a/Source/modules/webmidi/MIDIAccessInitializer.h |
+++ b/Source/modules/webmidi/MIDIAccessInitializer.h |
@@ -40,7 +40,7 @@ public: |
static ScriptPromise start(ScriptState* scriptState, const MIDIOptions& options) |
{ |
- RefPtrWillBeRawPtr<MIDIAccessInitializer> resolver = adoptRefWillBeNoop(new MIDIAccessInitializer(scriptState, options)); |
+ MIDIAccessInitializer* resolver = new MIDIAccessInitializer(scriptState, options); |
resolver->keepAliveWhilePending(); |
resolver->suspendIfNeeded(); |
return resolver->start(); |