const ShareableBitmap::Handle gets invalidated during IPC encoding .. via SharedMemory::Handle IPC encoding transferring the send right to the receiver. ShareableBitmap::Handle&&, SharedMemory::Handle&& should be transferred this way const ShareableBitmap::Handle, const SharedMemory::Handle should be transferred by copying Otherwise causes bugs when handle is held and sent multiple times, as in bug 231009
<rdar://problem/86646632>
Pull request: https://github.com/WebKit/WebKit/pull/14659
Committed 264922@main (6c8a9cf2cbd2): <https://commits.webkit.org/264922@main> Reviewed commits have been landed. Closing PR #14659 and removing active labels.