Bug 254676 - Avoid having a smart pointer if the end result is an autoreleased object
Summary: Avoid having a smart pointer if the end result is an autoreleased object
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-29 11:51 PDT by Seija K.
Modified: 2024-07-23 12:39 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seija K. 2023-03-29 11:51:10 PDT
Many convenience initializers can do this for us, which also means we do not have to use .get(), and we can decrease the overall cost as the Apple APIs deal with the autoreleasing.
Comment 1 Seija K. 2023-03-29 11:57:41 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12124
Comment 2 Radar WebKit Bug Importer 2023-04-05 11:52:14 PDT
<rdar://problem/107670789>
Comment 3 Alexey Proskuryakov 2024-07-23 12:39:54 PDT
This PR appear to have been dropped.