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 b064fbc71619bc3f58d07f470cacbe9cca0a54c7..8c4acdb7f139698daa06f3e75802b181204a46da 100644 |
--- a/content/browser/speech/input_tag_speech_dispatcher_host.cc |
+++ b/content/browser/speech/input_tag_speech_dispatcher_host.cc |
@@ -128,7 +128,7 @@ void InputTagSpeechDispatcherHost::StartRecognitionOnIO( |
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; |