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

Unified Diff: media/midi/midi_manager_win.cc

Issue 2926143003: Web MIDI: restore sysex receiving buffer synchronously (Closed)
Patch Set: Created 3 years, 6 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
« 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_win.cc
diff --git a/media/midi/midi_manager_win.cc b/media/midi/midi_manager_win.cc
index de73e138974fe55a49cab2104c405f601cc10ba3..95e2eb652a177064d6f24a043c237777128ce72d 100644
--- a/media/midi/midi_manager_win.cc
+++ b/media/midi/midi_manager_win.cc
@@ -660,9 +660,7 @@ MidiManagerWin::PortManager::HandleMidiInCallback(HMIDIIN hmi,
&MidiManagerWin::ReceiveMidiData, base::Unretained(manager), index,
data, manager->port_manager()->CalculateInEventTime(index, param2)));
}
- manager->PostTask(base::Bind(&MidiManagerWin::PortManager::RestoreInBuffer,
- base::Unretained(manager->port_manager()),
- index));
+ manager->port_manager()->RestoreInBuffer(index);
}
}
« 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