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

Unified Diff: media/midi/midi_manager_mac.cc

Issue 1508563003: Fix a potential crash in MidiManagerMac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 41a438118a59ad1648ed9c5acffbc208cb72fd91..7ba145b0a92ee43849c766eca51e2373af6bb513 100644
--- a/media/midi/midi_manager_mac.cc
+++ b/media/midi/midi_manager_mac.cc
@@ -382,7 +382,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