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

Unified Diff: media/midi/midi_manager_alsa.cc

Issue 1500153002: Fix crash with MIDI send for MidiManagerAlsa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary base::Unretained 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
« media/midi/midi_manager.cc ('K') | « media/midi/midi_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/midi/midi_manager_alsa.cc
diff --git a/media/midi/midi_manager_alsa.cc b/media/midi/midi_manager_alsa.cc
index 7f213730cec96efc2573c8000ffd3ae70d671dfe..ad802c5a062711400d87337198174ac6b5453f79 100644
--- a/media/midi/midi_manager_alsa.cc
+++ b/media/midi/midi_manager_alsa.cc
@@ -299,8 +299,8 @@ void MidiManagerAlsa::DispatchSendMidiData(MidiManagerClient* client,
// Acknowledge send.
send_thread_.message_loop()->PostTask(
- FROM_HERE, base::Bind(&MidiManagerClient::AccumulateMidiBytesSent,
- base::Unretained(client), data.size()));
+ FROM_HERE, base::Bind(&MidiManagerAlsa::AccumulateMidiBytesSent,
+ base::Unretained(this), client, data.size()));
}
MidiManagerAlsa::MidiPort::Id::Id() = default;
« media/midi/midi_manager.cc ('K') | « media/midi/midi_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698