| Index: Source/modules/webmidi/MIDIInput.cpp
|
| diff --git a/Source/modules/webmidi/MIDIInput.cpp b/Source/modules/webmidi/MIDIInput.cpp
|
| index c6310cfb2fbd1b300b2119c4b1d1f27ca644694a..adadf7bc6f9dc711aeb0766f2a217e1985db40fa 100644
|
| --- a/Source/modules/webmidi/MIDIInput.cpp
|
| +++ b/Source/modules/webmidi/MIDIInput.cpp
|
| @@ -37,14 +37,16 @@
|
|
|
| namespace blink {
|
|
|
| -MIDIInput* MIDIInput::create(MIDIAccess* access, const String& id, const String& manufacturer, const String& name, const String& version, bool isActive)
|
| +using PortState = MIDIAccessor::MIDIPortState;
|
| +
|
| +MIDIInput* MIDIInput::create(MIDIAccess* access, const String& id, const String& manufacturer, const String& name, const String& version, PortState state)
|
| {
|
| ASSERT(access);
|
| - return new MIDIInput(access, id, manufacturer, name, version, isActive);
|
| + return new MIDIInput(access, id, manufacturer, name, version, state);
|
| }
|
|
|
| -MIDIInput::MIDIInput(MIDIAccess* access, const String& id, const String& manufacturer, const String& name, const String& version, bool isActive)
|
| - : MIDIPort(access, id, manufacturer, name, MIDIPortTypeInput, version, isActive)
|
| +MIDIInput::MIDIInput(MIDIAccess* access, const String& id, const String& manufacturer, const String& name, const String& version, PortState state)
|
| + : MIDIPort(access, id, manufacturer, name, MIDIPortTypeInput, version, state)
|
| {
|
| }
|
|
|
|
|