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

Unified Diff: chrome/browser/extensions/extension_tts_api_win.cc

Issue 8965054: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.h ('k') | chrome/browser/ui/login/login_prompt_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_tts_api_win.cc
diff --git a/chrome/browser/extensions/extension_tts_api_win.cc b/chrome/browser/extensions/extension_tts_api_win.cc
index 05be9714105a728fee84f34eb526613dfd5b2d33..b4bbf81e33212cc10411dcb183879f6168d75dd5 100644
--- a/chrome/browser/extensions/extension_tts_api_win.cc
+++ b/chrome/browser/extensions/extension_tts_api_win.cc
@@ -187,7 +187,11 @@ void ExtensionTtsPlatformImplWin::OnSpeechEvent() {
}
ExtensionTtsPlatformImplWin::ExtensionTtsPlatformImplWin()
- : speech_synthesizer_(NULL) {
+ : speech_synthesizer_(NULL),
+ utterance_id_(0),
+ prefix_len_(0),
+ stream_number_(0),
+ char_position_(0) {
CoCreateInstance(
CLSID_SpVoice,
NULL,
« no previous file with comments | « chrome/browser/bookmarks/bookmark_utils.h ('k') | chrome/browser/ui/login/login_prompt_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698