[webkit-changes] [WebKit/WebKit] 2a3cc4: RemoteLayerWithInProcessRenderingBackingStore::cre...
Kimmo Kinnunen
noreply at github.com
Wed Dec 20 01:44:16 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a3cc4327213f8be23ef259a4835fd822c4ed9d3
https://github.com/WebKit/WebKit/commit/2a3cc4327213f8be23ef259a4835fd822c4ed9d3
Author: Kimmo Kinnunen <kkinnunen at apple.com>
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
More information about the webkit-changes
mailing list