DescriptionHoist cue "deactivation" out of TextTrackCueList::remove
Hoist the calls to setIsActive and removeDisplayTree into the callers.
This brings us closer to avoiding side-effects in fairly low-level code.
In TextTrackCueList::updateCueIndex open-code the remove()-call and
eliminate the redundant call to contains(). Also eliminate contains()
itself because it no longer has any uses.
BUG=321654
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190574
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|