Bug 253647

Summary: Remove useless checkType method, which confuses ARC and serves no purpose
Product: WebKit Reporter: Seija K. <doremylover123>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>