Exemplo n.º 1
0
void TextTrackCue::setIsActive(bool active)
{
    m_isActive = active;

    // Remove the display tree as soon as the cue becomes inactive.
    if (!active)
        removeDisplayTree();
}
Exemplo n.º 2
0
void VTTCue::setIsActive(bool active)
{
    TextTrackCue::setIsActive(active);

    if (!active) {
        if (!hasDisplayTree())
            return;

        // Remove the display tree as soon as the cue becomes inactive.
        removeDisplayTree();
    }
}
Exemplo n.º 3
0
TextTrackCue::~TextTrackCue()
{
    removeDisplayTree();
}
Exemplo n.º 4
0
VTTCue::~VTTCue()
{
    removeDisplayTree();
}