⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 201574 in webkit


Ignore:
Timestamp:
Jun 1, 2016, 3:49:07 PM (10 years ago)
Author:
eric.carlson@apple.com
Message:

REGRESSION(r201385) ASSERT in WebCore::HTMLMediaElement::updateActiveTextTrackCues + 5688
https://bugs.webkit.org/show_bug.cgi?id=158164
<rdar://problem/26498634>

Reviewed by Jer Noble.

No new tests, this prevents an assert in existing tests.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::~HTMLMediaElement): Call beginIgnoringTrackDisplayUpdateRequests

so we avoid doing unnecessary work triggered by destruction.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r201572 r201574  
     12016-06-01  Eric Carlson  <eric.carlson@apple.com>
     2
     3        REGRESSION(r201385) ASSERT in WebCore::HTMLMediaElement::updateActiveTextTrackCues + 5688
     4        https://bugs.webkit.org/show_bug.cgi?id=158164
     5        <rdar://problem/26498634>
     6
     7        Reviewed by Jer Noble.
     8
     9        No new tests, this prevents an assert in existing tests.
     10
     11        * html/HTMLMediaElement.cpp:
     12        (WebCore::HTMLMediaElement::~HTMLMediaElement): Call beginIgnoringTrackDisplayUpdateRequests
     13          so we avoid doing unnecessary work triggered by destruction.
     14
    1152016-06-01  Dean Jackson  <dino@apple.com>
    216
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r201522 r201574  
    498498    LOG(Media, "HTMLMediaElement::~HTMLMediaElement(%p)", this);
    499499
     500    beginIgnoringTrackDisplayUpdateRequests();
    500501    allMediaElements().remove(this);
    501502
Note: See TracChangeset for help on using the changeset viewer.