Changeset 184306 in webkit


Ignore:
Timestamp:
May 13, 2015, 2:18:57 PM (11 years ago)
Author:
eric.carlson@apple.com
Message:

Work around HTMLMediaElement::documentDidResumeFromPageCache being called twice
https://bugs.webkit.org/show_bug.cgi?id=144969

Reviewed by Alexey Proskuryakov.

  • dom/Document.cpp:

(WebCore::Document::addPlaybackTargetPickerClient): Replace ASSERT with early
return to work around https://webkit.org/b/144970.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r184304 r184306  
     12015-05-13  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Work around HTMLMediaElement::documentDidResumeFromPageCache being called twice
     4        https://bugs.webkit.org/show_bug.cgi?id=144969
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * dom/Document.cpp:
     9        (WebCore::Document::addPlaybackTargetPickerClient): Replace ASSERT with early
     10        return to work around https://webkit.org/b/144970.
     11
    1122015-05-13  Timothy Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebCore/dom/Document.cpp

    r184114 r184306  
    65536553        return;
    65546554
    6555     ASSERT(!m_clientToIDMap.contains(&client));
     6555    // FIXME: change this back to an ASSERT once https://webkit.org/b/144970 is fixed.
     6556    if (m_clientToIDMap.contains(&client))
     6557        return;
    65566558
    65576559    uint64_t contextId = nextPlaybackTargetClientContextId();
Note: See TracChangeset for help on using the changeset viewer.