| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 66abd0b51c986d3ecd1314ff85481e07cc7d309a..97315ce728033eabf1b94022b38d5bcc4faeeb9b 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -358,9 +358,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| , m_layerTreeViewCommitsDeferred(false)
|
| , m_compositorCreationFailed(false)
|
| , m_recreatingGraphicsContext(false)
|
| -#if ENABLE(INPUT_SPEECH)
|
| - , m_speechInputClient(SpeechInputClientImpl::create(client))
|
| -#endif
|
| , m_speechRecognitionClient(SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0))
|
| , m_geolocationClientProxy(adoptPtr(new GeolocationClientProxy(client ? client->geolocationClient() : 0)))
|
| , m_userMediaClientImpl(this)
|
| @@ -392,7 +389,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
|
| MediaKeysController::provideMediaKeysTo(*m_page, &m_mediaKeysClientImpl);
|
| provideMIDITo(*m_page, m_midiClientProxy.get());
|
| #if ENABLE(INPUT_SPEECH)
|
| - provideSpeechInputTo(*m_page, m_speechInputClient.get());
|
| + provideSpeechInputTo(*m_page, SpeechInputClientImpl::create(client));
|
| #endif
|
| provideSpeechRecognitionTo(*m_page, m_speechRecognitionClient.get());
|
| provideNotification(*m_page, notificationPresenterImpl());
|
|
|