Chromium Code Reviews
DescriptionHandle disabled outputs better when enabling.
The DCHECK for disabled outputs didn't handle the case where
m_disabledOutputs was empty. Of course, the output isn't in
m_disabledOutputs if m_disabledOutputs is empty.
Items get added to m_disabledOutputs only from
disableOutputsIfNecessary which happens when the number of connections
goes to 0 or 1, in preparation for collecting the node. In the test
case, the nodes still have references so there's no call to
disableOutputsIfNecessary. The output is just disconnected from the
downstream node.
BUG=656652
TEST=audionode-disconnect.html updated to include test
Committed: https://crrev.com/b61db9ee9a2987fa92d5d7aa082b5eaa33684991
Cr-Commit-Position: refs/heads/master@{#425979}
Patch Set 1 #
Messages
Total messages: 17 (11 generated)
|
|||||||||||||||||||||||||||||||||||||