Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: content/public/browser/speech_recognition_session_config.cc

Issue 170243005: Making sure that SpeechRecognitionDispatcherHost is not used after free (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed comments Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/speech_recognition_session_config.cc
diff --git a/content/public/browser/speech_recognition_session_config.cc b/content/public/browser/speech_recognition_session_config.cc
index a9e247d0a40735502666f0dbf1a7f359ede621ea..4022fccd80f05c7ceb8200a5e2f11e36104f480f 100644
--- a/content/public/browser/speech_recognition_session_config.cc
+++ b/content/public/browser/speech_recognition_session_config.cc
@@ -15,8 +15,7 @@ SpeechRecognitionSessionConfig::SpeechRecognitionSessionConfig()
filter_profanities(false),
continuous(false),
interim_results(false),
- max_hypotheses(kDefaultMaxHypotheses),
- event_listener(NULL) {
+ max_hypotheses(kDefaultMaxHypotheses) {
}
SpeechRecognitionSessionConfig::~SpeechRecognitionSessionConfig() {
« no previous file with comments | « content/public/browser/speech_recognition_session_config.h ('k') | content/public/test/fake_speech_recognition_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698