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

Unified Diff: content/common/media/midi_messages.h

Issue 23379002: Web MIDI: fix multi-threading problem around message buffer handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review #4 and #5 Created 7 years, 4 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: content/common/media/midi_messages.h
diff --git a/content/common/media/midi_messages.h b/content/common/media/midi_messages.h
index 86e5c16d690244aa3dcafd82ddf23695d1524e3d..0aee6222a7d5a3710d447af2f5dcf7eb482468a2 100644
--- a/content/common/media/midi_messages.h
+++ b/content/common/media/midi_messages.h
@@ -43,7 +43,7 @@ IPC_MESSAGE_CONTROL1(MIDIHostMsg_StartSession,
int /* client id */)
IPC_MESSAGE_CONTROL3(MIDIHostMsg_SendData,
- int /* port */,
+ uint32 /* port */,
std::vector<uint8> /* data */,
double /* timestamp */)
@@ -61,4 +61,4 @@ IPC_MESSAGE_CONTROL3(MIDIMsg_DataReceived,
double /* timestamp */)
IPC_MESSAGE_CONTROL1(MIDIMsg_AcknowledgeSentData,
- size_t /* bytes sent */)
+ uint32 /* bytes sent */)

Powered by Google App Engine
This is Rietveld 408576698