| 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 f0aa4ba4745c1974d2181cb9da59a5a38b543dd1..1414fe7d96d023f5e18b41b171a26e834d755d56 100644
|
| --- a/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| +++ b/third_party/WebKit/Source/modules/webmidi/MIDIInput.cpp
|
| @@ -93,9 +93,10 @@ void MIDIInput::didReceiveMIDIData(unsigned portIndex,
|
| if (getConnection() != ConnectionStateOpen)
|
| return;
|
|
|
| - // Drop sysex message here when the client does not request it. Note that this is not a security check but an
|
| - // automatic filtering for clients that do not want sysex message. Also note that sysex message will never be sent
|
| - // unless the current process has an explicit permission to handle sysex message.
|
| + // Drop sysex message here when the client does not request it. Note that this
|
| + // is not a security check but an automatic filtering for clients that do not
|
| + // want sysex message. Also note that sysex message will never be sent unless
|
| + // the current process has an explicit permission to handle sysex message.
|
| if (data[0] == 0xf0 && !midiAccess()->sysexEnabled())
|
| return;
|
| DOMUint8Array* array = DOMUint8Array::create(data, length);
|
|
|