Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c9488d0b271fbf1a0340d8ad8032884380934da
      
https://github.com/WebKit/WebKit/commit/4c9488d0b271fbf1a0340d8ad8032884380934da
  Author: Matt Woodrow <[email protected]>
  Date:   2025-09-30 (Tue, 30 Sep 2025)

  Changed paths:
    M 
Source/WebKit/Shared/RemoteLayerTree/RemoteLayerWithRemoteRenderingBackingStore.mm

  Log Message:
  -----------
  REGRESSION(297365@main): ASSERT(m_receivers.isEmpty()) when debugging Web 
process with show layer borders enabled
https://bugs.webkit.org/show_bug.cgi?id=299905
<rdar://problem/161688599>

Reviewed by Simon Fraser.

This happens when RemoteLayerWithRemoteRenderingBackingStore::prepareToDisplay
tells the buffer set that the dirty region is empty, and then
dirtyRepaintCounterIfNecessary adds new dirty area.

If the GPU process doesn't prepare a remote graphics context receiver, but the
web process tries to draw anyway, we hit an assertion.

Fix by adding the repaint counter dirty area first.

* 
Source/WebKit/Shared/RemoteLayerTree/RemoteLayerWithRemoteRenderingBackingStore.mm:
(WebKit::RemoteLayerWithRemoteRenderingBackingStore::prepareToDisplay):

Canonical link: https://commits.webkit.org/300789@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to