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

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

Issue 2392463004: reflow comments in modules/{webmidi,websocket} (Closed)
Patch Set: Created 4 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
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);
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIInput.h ('k') | third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698