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

Unified Diff: content/renderer/media/webrtc_audio_renderer.h

Issue 2292053002: Fix data race in WebRtcAudioRenderer. (Closed)
Patch Set: Accessing after the lock is released. Created 4 years, 4 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
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webrtc_audio_renderer.h
diff --git a/content/renderer/media/webrtc_audio_renderer.h b/content/renderer/media/webrtc_audio_renderer.h
index 272eca08857b3fb8d4315e960bb9eff8dfac509c..3c4d22a11b96745c3995b960afa279a3b565ab03 100644
--- a/content/renderer/media/webrtc_audio_renderer.h
+++ b/content/renderer/media/webrtc_audio_renderer.h
@@ -213,7 +213,7 @@ class CONTENT_EXPORT WebRtcAudioRenderer
// Protects access to |state_|, |source_|, |audio_fifo_|,
// |audio_delay_milliseconds_|, |fifo_delay_milliseconds_|, |current_time_|,
- // |sink_params_| and |render_callback_count_|
+ // |sink_params_|, |render_callback_count_| and |max_render_time_|.
mutable base::Lock lock_;
// Ref count for the MediaPlayers which are playing audio.
« no previous file with comments | « no previous file | content/renderer/media/webrtc_audio_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698