summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/media/midi_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/media/midi_host.cc')
-rw-r--r--content/browser/renderer_host/media/midi_host.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/content/browser/renderer_host/media/midi_host.cc b/content/browser/renderer_host/media/midi_host.cc
index 9c85b73..c55022b 100644
--- a/content/browser/renderer_host/media/midi_host.cc
+++ b/content/browser/renderer_host/media/midi_host.cc
@@ -67,14 +67,13 @@ void MidiHost::OnDestruct() const {
}
// IPC Messages handler
-bool MidiHost::OnMessageReceived(const IPC::Message& message,
- bool* message_was_ok) {
+bool MidiHost::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
- IPC_BEGIN_MESSAGE_MAP_EX(MidiHost, message, *message_was_ok)
+ IPC_BEGIN_MESSAGE_MAP(MidiHost, message)
IPC_MESSAGE_HANDLER(MidiHostMsg_StartSession, OnStartSession)
IPC_MESSAGE_HANDLER(MidiHostMsg_SendData, OnSendData)
IPC_MESSAGE_UNHANDLED(handled = false)
- IPC_END_MESSAGE_MAP_EX()
+ IPC_END_MESSAGE_MAP()
return handled;
}