Index: content/browser/speech/input_tag_speech_dispatcher_host.cc |
diff --git a/content/browser/speech/input_tag_speech_dispatcher_host.cc b/content/browser/speech/input_tag_speech_dispatcher_host.cc |
index 32ba964fa07304f180815af5dd0e13e1f4a7796f..e1c740d9780f4ccfa4fca32c91e45f35311de4fe 100644 |
--- a/content/browser/speech/input_tag_speech_dispatcher_host.cc |
+++ b/content/browser/speech/input_tag_speech_dispatcher_host.cc |
@@ -80,7 +80,7 @@ void InputTagSpeechDispatcherHost::OnStartRecognition( |
config.origin_url = params.origin_url; |
config.initial_context = context; |
config.url_request_context_getter = url_request_context_getter_.get(); |
- if (recognition_preferences_) { |
+ if (recognition_preferences_.get()) { |
config.filter_profanities = recognition_preferences_->FilterProfanities(); |
} else { |
config.filter_profanities = false; |