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 22cd22c10c3cd6cd002cba0ca13a1b68bc850aee..e2646d1d4757b168eb20c245a96bd512ecd47358 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -78,6 +78,8 @@ |
#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/input_tag_speech_dispatcher_host.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" |
@@ -115,10 +117,6 @@ |
#include "content/common/font_cache_dispatcher_win.h" |
#endif |
-#if defined(ENABLE_INPUT_SPEECH) |
-#include "content/browser/speech/input_tag_speech_dispatcher_host.h" |
-#endif |
- |
#include "third_party/skia/include/core/SkBitmap.h" |
using content::BrowserContext; |
@@ -504,6 +502,9 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
channel_->AddFilter(new speech::InputTagSpeechDispatcherHost( |
GetID(), browser_context->GetRequestContext(), |
browser_context->GetSpeechRecognitionPreferences())); |
+ channel_->AddFilter(new speech::SpeechRecognitionDispatcherHost( |
+ GetID(), browser_context->GetRequestContext(), |
+ browser_context->GetSpeechRecognitionPreferences())); |
#endif |
channel_->AddFilter(new FileAPIMessageFilter( |
GetID(), |