Bug 304581

Summary: Dispatch and Network OS Object types should use DefaultOSObjectRetainTraits
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Web Template FrameworkAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 297639, 302524    
Bug Blocks:    

David Kilzer (:ddkilzer)
Reported 2025-12-21 16:26:43 PST
Dispatch and Network OS Object types should use DefaultOSObjectRetainTraits so they can use custom retain/release functions in non-ARC contexts. This will also refactor Dispatch and Network objects into separate headers (like XPCOSObject.h) so that both <Network/Network.h> and <dispatch/dispatch.h> do NOT have to be included every time that "TypeCastsCocoa.h" is included.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-21 16:26:54 PST
David Kilzer (:ddkilzer)
Comment 2 2025-12-21 17:56:04 PST
EWS
Comment 3 2025-12-22 21:21:54 PST
Committed 304891@main (19967f9979a4): <https://commits.webkit.org/304891@main> Reviewed commits have been landed. Closing PR #55780 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.