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

Issue 2292053002: Fix data race in WebRtcAudioRenderer. (Closed)

Created:
4 years, 3 months ago by Henrik Grunell
Modified:
4 years, 3 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, o1ka, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix data race in WebRtcAudioRenderer. Accessing |max_render_time_| under |lock_| in Stop(). It's already accessed under the lock in the other place. BUG=641339 Committed: https://crrev.com/c0a322db0a71e6d63f4905d4b55f27d83f55726d Cr-Commit-Position: refs/heads/master@{#415617}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Accessing after the lock is released. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -10 lines) Patch
M content/renderer/media/webrtc_audio_renderer.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/webrtc_audio_renderer.cc View 1 2 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
Henrik Grunell
4 years, 3 months ago (2016-08-30 11:26:47 UTC) #3
DaleCurtis
lgtm
4 years, 3 months ago (2016-08-30 18:25:15 UTC) #4
miu
Drive-by observation: https://codereview.chromium.org/2292053002/diff/1/content/renderer/media/webrtc_audio_renderer.cc File content/renderer/media/webrtc_audio_renderer.cc (right): https://codereview.chromium.org/2292053002/diff/1/content/renderer/media/webrtc_audio_renderer.cc#newcode313 content/renderer/media/webrtc_audio_renderer.cc:313: // If |max_render_time_| is zero, no render ...
4 years, 3 months ago (2016-08-30 18:36:46 UTC) #5
Henrik Grunell
https://codereview.chromium.org/2292053002/diff/1/content/renderer/media/webrtc_audio_renderer.cc File content/renderer/media/webrtc_audio_renderer.cc (right): https://codereview.chromium.org/2292053002/diff/1/content/renderer/media/webrtc_audio_renderer.cc#newcode313 content/renderer/media/webrtc_audio_renderer.cc:313: // If |max_render_time_| is zero, no render call has ...
4 years, 3 months ago (2016-08-31 10:29:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2292053002/20001
4 years, 3 months ago (2016-08-31 10:30:41 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-31 12:30:35 UTC) #11
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 12:32:30 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c0a322db0a71e6d63f4905d4b55f27d83f55726d
Cr-Commit-Position: refs/heads/master@{#415617}

Powered by Google App Engine
This is Rietveld 408576698