Index: Source/modules/webmidi/MIDIInput.cpp |
diff --git a/Source/modules/webmidi/MIDIInput.cpp b/Source/modules/webmidi/MIDIInput.cpp |
index becbd1d8af4e2be142636135d57071456c182c73..fc6da6d11dd70240884af4eedcc0abf196cbaba1 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)); |
} |