Bug 252963 - [UI-side compositing] RemoteScrollingTree needs to hold a weak ref to the RemoteScrollingCoordinatorProxy
Summary: [UI-side compositing] RemoteScrollingTree needs to hold a weak ref to the Rem...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-26 11:51 PST by Simon Fraser (smfr)
Modified: 2023-02-27 12:36 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2023-02-26 11:51:25 PST
The scrolling thread may retain the RemoteScrollingTree after the RemoteScrollingCoordinatorProxy has been destroyed, so needs to use a WeakPtr to reference the RemoteScrollingCoordinatorProxy.
Comment 1 Radar WebKit Bug Importer 2023-02-26 11:51:43 PST
<rdar://problem/105949247>
Comment 2 Simon Fraser (smfr) 2023-02-26 11:55:28 PST
Pull request: https://github.com/WebKit/WebKit/pull/10698
Comment 3 EWS 2023-02-27 12:36:10 PST
Committed 260898@main (e8575a9871ec): <https://commits.webkit.org/260898@main>

Reviewed commits have been landed. Closing PR #10698 and removing active labels.