Index: content/browser/speech/speech_recognition_dispatcher_host.cc |
diff --git a/content/browser/speech/speech_recognition_dispatcher_host.cc b/content/browser/speech/speech_recognition_dispatcher_host.cc |
index 2dc993aa4cdfa851e038f205eb635f26e5859adb..7f20ca4efa301ecdd81c393bf25661b8bcba6efc 100644 |
--- a/content/browser/speech/speech_recognition_dispatcher_host.cc |
+++ b/content/browser/speech/speech_recognition_dispatcher_host.cc |
@@ -79,7 +79,7 @@ void SpeechRecognitionDispatcherHost::OnStartRequest( |
config.origin_url = params.origin_url; |
config.initial_context = context; |
config.url_request_context_getter = context_getter_.get(); |
- if (recognition_preferences_) { |
+ if (recognition_preferences_.get()) { |
config.filter_profanities = recognition_preferences_->FilterProfanities(); |
} else { |
config.filter_profanities = false; |