Bug 253647 - Remove useless checkType method, which confuses ARC and serves no purpose
Summary: Remove useless checkType method, which confuses ARC and serves no purpose
Status: NEW
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-09 07:24 PST by Seija K.
Modified: 2023-03-16 08:25 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-09 07:24:55 PST
Whatever checkType was supposed to do, all it did was return m_ptr, which is useless, and the only other constexpr that uses it was RetainPtr. This also confuses ARC, which could not follow the logic for some reason.
Comment 1 Seija K. 2023-03-10 08:35:15 PST
Pull request: https://github.com/WebKit/WebKit/pull/11297
Comment 2 Radar WebKit Bug Importer 2023-03-16 08:25:16 PDT
<rdar://problem/106808845>