DescriptionRemove 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
Messages
Total messages: 16 (0 generated)
|