Bug 310947

Summary: RemoteScrollingTree EventRegion helpers need not return pointers from EventRegion references
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: New BugsAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2026-03-27 19:48:53 PDT
RemoteScrollingTreeNode holds on to (and provides access to) EventRegion const references, and as such we can take advantage of this rather than losing the information to a pointer. Currently, the pointer return value is used as a stand-in for std::nullopt.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-03-27 19:49:21 PDT
Abrar Rahman Protyasha
Comment 2 2026-03-27 19:54:18 PDT
EWS
Comment 3 2026-03-30 11:46:20 PDT
Committed 310247@main (3585d8a0db29): <https://commits.webkit.org/310247@main> Reviewed commits have been landed. Closing PR #61544 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.