Bug 263580

Summary: Use 'auto' when calling a function that returns a RetainPtr<>
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: WebKit Misc.Assignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW ---    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2023-10-23 21:13:35 PDT
Using 'auto' on the LHS of an assignment of the result of a function that returns a RetainPtr<> makes style checking for incorrect RetainPtr use easier.
Comment 1 Radar WebKit Bug Importer 2023-10-23 21:13:51 PDT
<rdar://problem/117389828>
Comment 2 Simon Fraser (smfr) 2023-10-23 21:17:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19473