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

Issue 1958333006: Prevent audio thread access to finished, non-active AudioNodes. (Closed)

Created:
4 years, 7 months ago by sof
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews, hongchan, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent audio thread access to finished, non-active AudioNodes. Follow up r392110 and have the audio thread skip over m_activeSourceNodes nodes it has already deemed to be finished & removable by the main thread. Accessing these cannot be safely done. R= BUG=610643 Committed: https://crrev.com/ac763683bafd8fe61ef1fe3285152b37d2bdab24 Cr-Commit-Position: refs/heads/master@{#392720}

Patch Set 1 #

Total comments: 3

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp View 1 3 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
sof
please take a look.
4 years, 7 months ago (2016-05-10 15:20:14 UTC) #2
haraken
LGTM on my side.
4 years, 7 months ago (2016-05-10 15:22:30 UTC) #3
Raymond Toy
lgtm with nit https://codereview.chromium.org/1958333006/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp (right): https://codereview.chromium.org/1958333006/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp#newcode831 third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp:831: if (m_finishedSourceNodes.contains(node)) Can you add a ...
4 years, 7 months ago (2016-05-10 16:04:20 UTC) #4
hongchan
lgtm
4 years, 7 months ago (2016-05-10 16:54:55 UTC) #5
sof
https://codereview.chromium.org/1958333006/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp (right): https://codereview.chromium.org/1958333006/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp#newcode831 third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp:831: if (m_finishedSourceNodes.contains(node)) On 2016/05/10 16:04:20, Raymond Toy wrote: > ...
4 years, 7 months ago (2016-05-10 19:09:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1958333006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1958333006/20001
4 years, 7 months ago (2016-05-10 19:16:31 UTC) #9
Raymond Toy
https://codereview.chromium.org/1958333006/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp File third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp (right): https://codereview.chromium.org/1958333006/diff/1/third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp#newcode831 third_party/WebKit/Source/modules/webaudio/AbstractAudioContext.cpp:831: if (m_finishedSourceNodes.contains(node)) On 2016/05/10 19:09:09, sof wrote: > On ...
4 years, 7 months ago (2016-05-10 19:54:57 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-10 21:14:11 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-05-10 21:15:47 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ac763683bafd8fe61ef1fe3285152b37d2bdab24
Cr-Commit-Position: refs/heads/master@{#392720}

Powered by Google App Engine
This is Rietveld 408576698