Changeset 149448 in webkit


Ignore:
Timestamp:
May 1, 2013 12:57:31 PM (11 years ago)
Author:
eric.carlson@apple.com
Message:

[Mac Lion] Assertion failure in MediaControlTextTrackContainerElement::updateDisplay()
https://bugs.webkit.org/show_bug.cgi?id=115289

Reviewed by Jer Noble.

No new tests, this is a speculative fix for an infrequent assertion.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::textTrackRemoveCue): Mark the cue as inactive when it is removed

from the active set.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r149447 r149448  
     12013-05-01  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [Mac Lion] Assertion failure in MediaControlTextTrackContainerElement::updateDisplay()
     4        https://bugs.webkit.org/show_bug.cgi?id=115289
     5
     6        Reviewed by Jer Noble.
     7
     8        No new tests, this is a speculative fix for an infrequent assertion.
     9
     10        * html/HTMLMediaElement.cpp:
     11        (WebCore::HTMLMediaElement::textTrackRemoveCue): Mark the cue as inactive when it is removed
     12            from the active set.
     13
    1142013-05-01  Joseph Pecoraro  <pecoraro@apple.com>
    215
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r149447 r149448  
    14721472
    14731473    size_t index = m_currentlyActiveCues.find(interval);
    1474     if (index != notFound)
     1474    if (index != notFound) {
     1475        cue->setIsActive(false);
    14751476        m_currentlyActiveCues.remove(index);
     1477    }
    14761478
    14771479    cue->removeDisplayTree();
Note: See TracChangeset for help on using the changeset viewer.