Bug 253156 - Prefer make_unique over std::unique_ptr
Summary: Prefer make_unique over std::unique_ptr
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-01 07:50 PST by Seija K.
Modified: 2023-03-24 11:06 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-01 07:50:04 PST
std::unique_ptr is just calling std::make_unique, when we have WTF::makeUnique for this purpose.
Comment 1 Seija K. 2023-03-01 07:51:31 PST
Pull request: https://github.com/WebKit/WebKit/pull/10687
Comment 2 Radar WebKit Bug Importer 2023-03-08 07:51:16 PST
<rdar://problem/106427501>
Comment 3 Seija K. 2023-03-13 06:26:26 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11405
Comment 4 EWS 2023-03-24 11:06:21 PDT
Committed 262084@main (f953a3491357): <https://commits.webkit.org/262084@main>

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