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

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

Issue 23533039: Re-enables three WebRTC unit tests in content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabled Android and improved tests for all other platforms Created 7 years, 3 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/renderer/media/webrtc_audio_device_impl.cc
diff --git a/content/renderer/media/webrtc_audio_device_impl.cc b/content/renderer/media/webrtc_audio_device_impl.cc
index 47e72c8dd1842ab781ad02c551c6fbe909e159a2..f440a750b22be8da5aa8e6625f45deed01d203ad 100644
--- a/content/renderer/media/webrtc_audio_device_impl.cc
+++ b/content/renderer/media/webrtc_audio_device_impl.cc
@@ -120,6 +120,7 @@ void WebRtcAudioDeviceImpl::RenderData(uint8* audio_data,
DCHECK_LE(number_of_frames, output_buffer_size());
{
base::AutoLock auto_lock(lock_);
+ DCHECK(audio_transport_callback_);
// Store the reported audio delay locally.
output_delay_ms_ = audio_delay_milliseconds;
}
« no previous file with comments | « content/browser/renderer_host/media/mock_media_observer.h ('k') | content/renderer/media/webrtc_audio_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698