Index: third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
index 67efdf8e95c684494fa914230eb83e5f43dc7b6e..b18e8c2c3c1ffa4188d15fe61cdc14fb238441cf 100644 |
--- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp |
@@ -89,7 +89,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<DOMUint8Array> array = DOMUint8Array::create(data, length); |
+ DOMUint8Array* array = DOMUint8Array::create(data, length); |
dispatchEvent(MIDIMessageEvent::create(timeStamp, array)); |
} |