Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a3cc4327213f8be23ef259a4835fd822c4ed9d3
      
https://github.com/WebKit/WebKit/commit/2a3cc4327213f8be23ef259a4835fd822c4ed9d3
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

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

  Log Message:
  -----------
  
RemoteLayerWithInProcessRenderingBackingStore::createContextAndPaintContents() 
contains redundant lambdas
https://bugs.webkit.org/show_bug.cgi?id=266632
rdar://problem/119863593

Reviewed by Matt Woodrow.

Remove the in-function lambda, it was just called once and it did not
contain early returns.

Remove the scoped restore lambda. It was executed unconditionally
and there are no early returns.

This is work towards being able to run the clip code in WP.

* 
Source/WebKit/Shared/RemoteLayerTree/RemoteLayerWithInProcessRenderingBackingStore.mm:
(WebKit::RemoteLayerWithInProcessRenderingBackingStore::createContextAndPaintContents):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to