Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 67fe61ae318b2313c2a7cedd2f49903742a83238..0b67b208060bdb1d6af48c76a625e620c84c84e9 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -359,7 +359,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
, m_layerTreeViewCommitsDeferred(false) |
, m_compositorCreationFailed(false) |
, m_recreatingGraphicsContext(false) |
- , m_speechRecognitionClient(SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0)) |
, m_geolocationClientProxy(adoptPtr(new GeolocationClientProxy(client ? client->geolocationClient() : 0))) |
, m_userMediaClientImpl(this) |
, m_midiClientProxy(adoptPtr(new MIDIClientProxy(client ? client->webMIDIClient() : 0))) |
@@ -392,7 +391,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client) |
#if ENABLE(INPUT_SPEECH) |
provideSpeechInputTo(*m_page, SpeechInputClientImpl::create(client)); |
#endif |
- provideSpeechRecognitionTo(*m_page, m_speechRecognitionClient.get()); |
+ provideSpeechRecognitionTo(*m_page, SpeechRecognitionClientProxy::create(client ? client->speechRecognizer() : 0)); |
provideNotification(*m_page, notificationPresenterImpl()); |
provideNavigatorContentUtilsTo(*m_page, NavigatorContentUtilsClientImpl::create(this)); |