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

Issue 466763002: AudioNode::breakConnectionWithLock() doesn't need to check 'm_normalRefCount > 1' in non-oilpan bui… (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
Reviewers:
oilpan-reviews, tkent
CC:
blink-reviews, Raymond Toy
Project:
blink
Visibility:
Public.

Description

AudioNode::breakConnectionWithLock() doesn't need to check 'm_normalRefCount > 1' in non-oilpan builds This check was introduced in https://codereview.chromium.org/386403002/. I agree that it's OK to have the check, but the check is not needed. If we have the check, we can avoid the overhead of calling disableOutputsIfNecessary() when the AudioNode is about to die. However, having the check causes an issue when rewriting the reference counting system (see full CL: https://codereview.chromium.org/438293003/), I remove the check in this CL in preparation for the rewrite. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180233

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -7 lines) Patch
M Source/modules/webaudio/AudioNode.cpp View 1 chunk +3 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-12 14:07:06 UTC) #1
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-08-14 02:40:33 UTC) #2
tkent
lgtm
6 years, 4 months ago (2014-08-14 02:40:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/466763002/1
6 years, 4 months ago (2014-08-14 02:41:58 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 04:54:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (1) as 180233

Powered by Google App Engine
This is Rietveld 408576698