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

Unified Diff: media/midi/midi_manager_mac.cc

Issue 1515673002: Fix a potential crash in MidiManagerMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_mac.cc
diff --git a/media/midi/midi_manager_mac.cc b/media/midi/midi_manager_mac.cc
index ade118d2cfd1ab4579fbe055502a27a60c0d15ea..d51a2159b043fe3a339012996b16806597fb7f85 100644
--- a/media/midi/midi_manager_mac.cc
+++ b/media/midi/midi_manager_mac.cc
@@ -379,7 +379,7 @@ void MidiManagerMac::SendMidiData(MidiManagerClient* client,
MIDISend(coremidi_output_, destination, packet_list);
}
- client->AccumulateMidiBytesSent(data.size());
+ AccumulateMidiBytesSent(client, data.size());
}
} // namespace midi
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698