Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(793)

Unified Diff: Source/modules/webmidi/MIDIInput.cpp

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/webaudio/WaveShaperProcessor.cpp ('k') | Source/modules/webmidi/MIDIMessageEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « Source/modules/webaudio/WaveShaperProcessor.cpp ('k') | Source/modules/webmidi/MIDIMessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698