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

Unified Diff: content/renderer/media/speech_recognition_audio_sink_unittest.cc

Issue 822503002: Fix Memcheck:Uninitialized error caused by r309316. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/speech_recognition_audio_sink_unittest.cc
diff --git a/content/renderer/media/speech_recognition_audio_sink_unittest.cc b/content/renderer/media/speech_recognition_audio_sink_unittest.cc
index 2ae1d05246ffdfd86bf6acb07939bcfc26260ecf..12e8cc1825cc8d32dc3f0b58fa3d20b7e6459b40 100644
--- a/content/renderer/media/speech_recognition_audio_sink_unittest.cc
+++ b/content/renderer/media/speech_recognition_audio_sink_unittest.cc
@@ -226,6 +226,7 @@ class SpeechRecognitionAudioSinkTest : public testing::Test {
output_frames_per_buffer);
source_bus_ =
media::AudioBus::Create(kInputChannels, input_frames_per_buffer);
+ source_bus_->Zero();
first_frame_capture_time_ = base::TimeTicks::Now();
sample_frames_captured_ = 0;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698