Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9efbae20a35b7d62ce977f84d8dc9df0c4d796c0
      
https://github.com/WebKit/WebKit/commit/9efbae20a35b7d62ce977f84d8dc9df0c4d796c0
  Author: Etienne Segonzac <[email protected]>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.h
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm
    M Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm

  Log Message:
  -----------
  REGRESSION(296360@main) Broke WKSeparatedImageViews
https://bugs.webkit.org/show_bug.cgi?id=294851
<rdar://149583665>

Reviewed by Matt Woodrow.

`RemoteLayerBackingStoreProperties::updateCachedBuffers` shouldn't consume
the `m_bufferHandle` for WKSeparatedImageViews.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.h:
Pass `hostingView` to `updateCachedBuffers` too.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerBackingStore.mm:
(WebKit::RemoteLayerBackingStoreProperties::applyBackingStoreToLayer):
Always check `m_bufferHandle` before using it.
(WebKit::RemoteLayerBackingStoreProperties::updateCachedBuffers):
Don't consume the buffer handle for WKSeparatedImageViews.

* Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm:
(WebKit::RemoteLayerTreePropertyApplier::applyPropertiesToLayer):
Pass `hostingView` to `updateCachedBuffers` too.

Canonical link: https://commits.webkit.org/296536@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