DescriptionSimplify TextTrackCue::isActive
Make it a simple getter for the m_isActive flag. The other aspects of the
current condition should be managed by TextTrack. A breakdown on the
(non-assert) usage follows.
MediaControlTextTrackContainerElement::updateDisplay
Already explicitly checks TextTrackCue::track() and isRendered on the
track.
TextTrackCueList::collectActiveCues
Caller (TextTrack::activeCues) checks mode != 'disabled'.
CueTimeline::* (mostly updateActiveCues)
This class manages the flag, and should be notified when a cue is removed
or a track has it's mode changed to disabled.
BUG=321654
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191298
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|