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

Changeset 273775 in webkit


Ignore:
Timestamp:
Mar 2, 2021, 5:12:53 PM (6 years ago)
Author:
Peng Liu
Message:

[ BigSur Debug Wk 2 ] ASSERT NOT REACHED in WebCore::DisplayList::PaintFrameForMedia::apply
​https://bugs.webkit.org/show_bug.cgi?id=221989
<rdar://problem/74403030>

Reviewed by Jer Noble.

No new tests, this will fix a crash on debug bots.

  • GPUProcess/graphics/RemoteRenderingBackend.cpp:

(WebKit::RemoteRenderingBackend::applyMediaItem): When we cannot get the player, the player
with the given identifier must have been destroyed. This function can return true to indicate
that the item has been applied.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r273759 r273775  
     12021-03-02  Peng Liu  <peng.liu6@apple.com>
     2
     3        [ BigSur Debug Wk 2 ] ASSERT NOT REACHED in WebCore::DisplayList::PaintFrameForMedia::apply
     4        https://bugs.webkit.org/show_bug.cgi?id=221989
     5        <rdar://problem/74403030>
     6
     7        Reviewed by Jer Noble.
     8
     9        No new tests, this will fix a crash on debug bots.
     10
     11        * GPUProcess/graphics/RemoteRenderingBackend.cpp:
     12        (WebKit::RemoteRenderingBackend::applyMediaItem): When we cannot get the player, the player
     13        with the given identifier must have been destroyed. This function can return true to indicate
     14        that the item has been applied.
     15
    1162021-03-02  Ricky Mondello  <rmondello@apple.com>
    217
  • trunk/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp

    r273700 r273775  
    125125    auto player = m_gpuConnectionToWebProcess->remoteMediaPlayerManagerProxy().mediaPlayer(mediaItem.identifier());
    126126    if (!player)
    127         return false;
     127        return true;
    128128
    129129    context.paintFrameForMedia(*player, mediaItem.destination());
Note: See TracChangeset for help on using the changeset viewer.