| Index: Source/modules/webmidi/MIDIInput.cpp
|
| diff --git a/Source/modules/webmidi/MIDIInput.cpp b/Source/modules/webmidi/MIDIInput.cpp
|
| index 64310d042dbeb584a61bd99cf693f8f82d3c65a3..0b0e331b15a53d4b95947be5f0ad6f6c5aecb56d 100644
|
| --- a/Source/modules/webmidi/MIDIInput.cpp
|
| +++ b/Source/modules/webmidi/MIDIInput.cpp
|
| @@ -60,7 +60,7 @@ void MIDIInput::didReceiveMIDIData(unsigned portIndex, const unsigned char* data
|
| // unless the current process has an explicit permission to handle sysex message.
|
| if (data[0] == 0xf0 && !midiAccess()->sysexEnabled())
|
| return;
|
| - RefPtr<Uint8Array> array = Uint8Array::create(data, length);
|
| + RefPtr<DOMUint8Array> array = DOMUint8Array::create(data, length);
|
| dispatchEvent(MIDIMessageEvent::create(timeStamp, array));
|
| }
|
|
|
|
|