Bug 253608 - Use move instead of copy when encoding the ImageBufferBackendHandle in RemoteLayerBackingStore
Summary: Use move instead of copy when encoding the ImageBufferBackendHandle in Remote...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-08 14:50 PST by Matt Woodrow
Modified: 2023-03-09 17:10 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>