Index: content/browser/renderer_host/media/midi_host.cc |
diff --git a/content/browser/renderer_host/media/midi_host.cc b/content/browser/renderer_host/media/midi_host.cc |
index b0b0e7692f270b4454cb8e26482179dc9b64c040..13c0981e745276f86694bfb7e5a0e43fdefeea8e 100644 |
--- a/content/browser/renderer_host/media/midi_host.cc |
+++ b/content/browser/renderer_host/media/midi_host.cc |
@@ -88,7 +88,7 @@ void MIDIHost::OnStartSession(int client_id) { |
output_ports)); |
} |
-void MIDIHost::OnSendData(int port, |
+void MIDIHost::OnSendData(unsigned int port, |
const std::vector<uint8>& data, |
double timestamp) { |
if (!midi_manager_) |
@@ -116,8 +116,7 @@ void MIDIHost::OnSendData(int port, |
midi_manager_->DispatchSendMIDIData( |
this, |
port, |
- &data[0], |
- data.size(), |
+ data, |
timestamp); |
sent_bytes_in_flight_ += data.size(); |