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

Issue 458923003: Remove AudioNode::isMarkedForDeletion from oilpan builds (Closed)

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

Description

Remove AudioNode::isMarkedForDeletion from oilpan builds AudioNode::isMarkedForDeletion is not needed any more in oilpan builds for the following (non-trivial) reason: 0 isMarkedForDeletion is set to true in AudioNode::dispose(). In oilpan builds, AudioNode::dispose() is called after the AudioNode becomes unreachable. In other words, isMarkedForDeletion is set to true after the AudioNode becomes unreachable. - The only user of isMarkedForDeletion is AudioNodeInput::canUpdateState(). AudioNodeInput::canUpdateState() returns false if isMarkedForDeletion is true. - AudioNodeInput has a strong reference to the AudioNode. These facts indicate that AudioNodeInput::canUpdateState() always returns true. Thus this CL removes the canUpdateState() checks from the code base. This also enables us to remove AudioNode::isMarkedForDeletion. BUG=340522 NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180032

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M Source/modules/webaudio/AudioNode.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioNode.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/webaudio/AudioNodeInput.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioParam.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioSummingJunction.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/webaudio/AudioSummingJunction.cpp View 1 2 chunks +8 lines, -1 line 1 comment Download

Messages

Total messages: 16 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-11 07:21:58 UTC) #1
zerny-chromium
On 2014/08/11 07:21:58, haraken wrote: > These facts indicate that AudioNodeInput::canUpdateState() always returns true. Or ...
6 years, 4 months ago (2014-08-11 07:43:48 UTC) #2
haraken
On 2014/08/11 07:43:48, zerny-chromium wrote: > On 2014/08/11 07:21:58, haraken wrote: > > These facts ...
6 years, 4 months ago (2014-08-11 07:51:28 UTC) #3
zerny-chromium
The change looks good, but I'd think someone that knows the code base (eg, tkent ...
6 years, 4 months ago (2014-08-11 07:53:28 UTC) #4
zerny-chromium
On 2014/08/11 07:51:28, haraken wrote: > On 2014/08/11 07:43:48, zerny-chromium wrote: > > On 2014/08/11 ...
6 years, 4 months ago (2014-08-11 07:54:11 UTC) #5
tkent
lgtm. I also think it's safe to remove.
6 years, 4 months ago (2014-08-11 10:05:49 UTC) #6
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-11 10:28:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/458923003/20001
6 years, 4 months ago (2014-08-11 10:29:25 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-11 11:30:55 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-11 12:41:18 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/22035)
6 years, 4 months ago (2014-08-11 12:41:19 UTC) #11
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-12 05:49:09 UTC) #12
haraken
The CQ bit was unchecked by haraken@chromium.org
6 years, 4 months ago (2014-08-12 05:49:39 UTC) #13
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-12 05:49:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/458923003/20001
6 years, 4 months ago (2014-08-12 05:50:27 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 05:51:21 UTC) #16
Message was sent while issue was closed.
Change committed as 180032

Powered by Google App Engine
This is Rietveld 408576698