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

Issue 386403002: WebAudio: Split AudioNode::finishDeref into two parts. (Closed)

Created:
6 years, 5 months ago by tkent
Modified:
6 years, 5 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

WebAudio: Split AudioNode::finishDeref into two parts. Split finishDeref into - Disconnection processing part, and - Normal lifetime management part. This CL adds AudioContext::addDeferredBreakConnection() to defer them independently. At this momenet deref() and breakConnection() have very similar code to acquire lock. We're going to remove deref() by Oilpan. BUG=392788 TEST=none; no behavior changes. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178123

Patch Set 1 #

Total comments: 4

Patch Set 2 : apply review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -21 lines) Patch
M Source/modules/webaudio/AudioContext.h View 2 chunks +6 lines, -3 lines 0 comments Download
M Source/modules/webaudio/AudioContext.cpp View 1 3 chunks +15 lines, -7 lines 0 comments Download
M Source/modules/webaudio/AudioNode.h View 2 chunks +1 line, -1 line 0 comments Download
M Source/modules/webaudio/AudioNode.cpp View 1 4 chunks +34 lines, -10 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
tkent
Please review this.
6 years, 5 months ago (2014-07-14 09:36:51 UTC) #1
Raymond Toy
lgtm with nit https://codereview.chromium.org/386403002/diff/1/Source/modules/webaudio/AudioNode.cpp File Source/modules/webaudio/AudioNode.cpp (right): https://codereview.chromium.org/386403002/diff/1/Source/modules/webaudio/AudioNode.cpp#newcode529 Source/modules/webaudio/AudioNode.cpp:529: // The actually work for deref ...
6 years, 5 months ago (2014-07-14 16:43:01 UTC) #2
sof
https://codereview.chromium.org/386403002/diff/1/Source/modules/webaudio/AudioContext.cpp File Source/modules/webaudio/AudioContext.cpp (left): https://codereview.chromium.org/386403002/diff/1/Source/modules/webaudio/AudioContext.cpp#oldcode743 Source/modules/webaudio/AudioContext.cpp:743: AudioNode* node = m_deferredFinishDerefList[i]; style nit: if you want ...
6 years, 5 months ago (2014-07-14 19:09:26 UTC) #3
tkent
https://codereview.chromium.org/386403002/diff/1/Source/modules/webaudio/AudioContext.cpp File Source/modules/webaudio/AudioContext.cpp (left): https://codereview.chromium.org/386403002/diff/1/Source/modules/webaudio/AudioContext.cpp#oldcode743 Source/modules/webaudio/AudioContext.cpp:743: AudioNode* node = m_deferredFinishDerefList[i]; On 2014/07/14 19:09:26, sof wrote: ...
6 years, 5 months ago (2014-07-15 01:19:24 UTC) #4
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 5 months ago (2014-07-15 01:19:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/386403002/20001
6 years, 5 months ago (2014-07-15 01:20:19 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-15 02:21:35 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-15 02:59:53 UTC) #8
Message was sent while issue was closed.
Change committed as 178123

Powered by Google App Engine
This is Rietveld 408576698