Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 662cc1fc599bf7805e3f16d751d35d2c8452c7b4..b7b97528af12f23732ae798d6983665e97f00204 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -148,6 +148,7 @@ |
#include "web/NavigatorContentUtilsClientImpl.h" |
#include "web/PopupContainer.h" |
#include "web/PrerendererClientImpl.h" |
+#include "web/SpeechRecognitionClientProxy.h" |
#include "web/StorageQuotaClientImpl.h" |
#include "web/ValidationMessageClientImpl.h" |
#include "web/ViewportAnchor.h" |
@@ -425,6 +426,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
m_page = adoptPtrWillBeNoop(new Page(pageClients)); |
MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl); |
+ provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0)); |
provideNavigatorContentUtilsTo(*m_page, NavigatorContentUtilsClientImpl::create(this)); |
provideContextFeaturesTo(*m_page, ContextFeaturesClientImpl::create()); |