Bug 242158

Summary: RemoteRenderingBackend::prepareBuffersForDisplay should move its result into the completion handler
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: WebKit Process ModelAssignee: Cameron McCormack (:heycam) <heycam>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Cameron McCormack (:heycam) 2022-06-29 19:18:52 PDT
We currently copy the contents of the PrepareBackingStoreBuffersOutputData vector, which means retaining and releasing a Mach send right unnecessarily.
Comment 1 Cameron McCormack (:heycam) 2022-06-29 19:22:16 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1932
Comment 2 EWS 2022-06-29 20:27:50 PDT
Committed 251976@main (29e7147feebc): <https://commits.webkit.org/251976@main>

Reviewed commits have been landed. Closing PR #1932 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-06-29 20:28:13 PDT
<rdar://problem/96188094>