Index: Source/modules/webmidi/MIDIAccess.cpp |
diff --git a/Source/modules/webmidi/MIDIAccess.cpp b/Source/modules/webmidi/MIDIAccess.cpp |
index 33c4c336477abf8fda5d0f374ce2ed5310433525..504bf4b0d47b1863fbf8d26e4266b2b53558bbe5 100644 |
--- a/Source/modules/webmidi/MIDIAccess.cpp |
+++ b/Source/modules/webmidi/MIDIAccess.cpp |
@@ -80,7 +80,7 @@ void MIDIAccess::didAddInputPort(const String& id, const String& manufacturer, c |
{ |
ASSERT(isMainThread()); |
- m_inputs.append(MIDIInput::create(this, executionContext(), id, manufacturer, name, version)); |
+ m_inputs.append(MIDIInput::create(this, id, manufacturer, name, version)); |
} |
void MIDIAccess::didAddOutputPort(const String& id, const String& manufacturer, const String& name, const String& version) |
@@ -88,7 +88,7 @@ void MIDIAccess::didAddOutputPort(const String& id, const String& manufacturer, |
ASSERT(isMainThread()); |
unsigned portIndex = m_outputs.size(); |
- m_outputs.append(MIDIOutput::create(this, portIndex, executionContext(), id, manufacturer, name, version)); |
+ m_outputs.append(MIDIOutput::create(this, portIndex, id, manufacturer, name, version)); |
} |
void MIDIAccess::didStartSession(bool success) |
@@ -152,8 +152,6 @@ void MIDIAccess::stop() |
MIDIController* controller = MIDIController::from(document->page()); |
ASSERT(controller); |
controller->cancelSysExPermissionRequest(this); |
- |
- m_accessor.clear(); |
} |
void MIDIAccess::startRequest() |