Bug 253608

Summary: Use move instead of copy when encoding the ImageBufferBackendHandle in RemoteLayerBackingStore
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2023-03-08 14:50:37 PST
We currently end up copying the backend handle twice, each of which calls into the kernel to change mach_port refs.
Comment 1 Matt Woodrow 2023-03-08 14:53:13 PST
Pull request: https://github.com/WebKit/WebKit/pull/11261
Comment 2 EWS 2023-03-09 17:09:44 PST
Committed 261479@main (a576e4d3baa9): <https://commits.webkit.org/261479@main>

Reviewed commits have been landed. Closing PR #11261 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-03-09 17:10:17 PST
<rdar://problem/106528593>