Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index b1f75ddc1fd625c9a85e247df696872e78a1c597..505472ba8518ef3d5d5964398179b97c0b18ca8d 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -78,6 +78,7 @@ |
#include "content/browser/renderer_host/socket_stream_dispatcher_host.h" |
#include "content/browser/renderer_host/text_input_client_message_filter.h" |
#include "content/browser/resolve_proxy_msg_helper.h" |
+#include "content/browser/speech/speech_recognition_dispatcher_host.h" |
#include "content/browser/trace_message_filter.h" |
#include "content/browser/worker_host/worker_message_filter.h" |
#include "content/common/child_process_host_impl.h" |
@@ -503,6 +504,10 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
GetID(), browser_context->GetRequestContext(), |
browser_context->GetSpeechRecognitionPreferences())); |
#endif |
+ channel_->AddFilter(new speech::SpeechRecognitionDispatcherHost( |
+ GetID(), |
+ browser_context->GetRequestContext(), |
+ browser_context->GetSpeechRecognitionPreferences())); |
channel_->AddFilter(new FileAPIMessageFilter( |
GetID(), |
browser_context->GetRequestContext(), |