diff options
Diffstat (limited to 'chrome/browser/speech')
-rw-r--r-- | chrome/browser/speech/tts_message_filter.cc | 5 | ||||
-rw-r--r-- | chrome/browser/speech/tts_message_filter.h | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/speech/tts_message_filter.cc b/chrome/browser/speech/tts_message_filter.cc index 6488b36..789eac3 100644 --- a/chrome/browser/speech/tts_message_filter.cc +++ b/chrome/browser/speech/tts_message_filter.cc @@ -35,10 +35,9 @@ void TtsMessageFilter::OverrideThreadForMessage( } } -bool TtsMessageFilter::OnMessageReceived(const IPC::Message& message, - bool* message_was_ok) { +bool TtsMessageFilter::OnMessageReceived(const IPC::Message& message) { bool handled = true; - IPC_BEGIN_MESSAGE_MAP_EX(TtsMessageFilter, message, *message_was_ok) + IPC_BEGIN_MESSAGE_MAP(TtsMessageFilter, message) IPC_MESSAGE_HANDLER(TtsHostMsg_InitializeVoiceList, OnInitializeVoiceList) IPC_MESSAGE_HANDLER(TtsHostMsg_Speak, OnSpeak) IPC_MESSAGE_HANDLER(TtsHostMsg_Pause, OnPause) diff --git a/chrome/browser/speech/tts_message_filter.h b/chrome/browser/speech/tts_message_filter.h index b81c56c..629745c 100644 --- a/chrome/browser/speech/tts_message_filter.h +++ b/chrome/browser/speech/tts_message_filter.h @@ -24,8 +24,7 @@ class TtsMessageFilter virtual void OverrideThreadForMessage( const IPC::Message& message, content::BrowserThread::ID* thread) OVERRIDE; - virtual bool OnMessageReceived(const IPC::Message& message, - bool* message_was_ok) OVERRIDE; + virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; virtual void OnChannelClosing() OVERRIDE; // UtteranceEventDelegate implementation. |