Bug 212989 - Use bridge cast in String(NSString *) constructor
Summary: Use bridge cast in String(NSString *) constructor
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: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-09 13:48 PDT by Chris Dumez
Modified: 2020-06-09 15:05 PDT (History)
7 users (show)

See Also:


Attachments
Patch (2.35 KB, patch)
2020-06-09 13:49 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2020-06-09 13:48:14 PDT
Use bridge cast in String(NSString *) constructor instead of a reinterpret_cast as this is the preferred way of converting a NS Type to a CF one.
Comment 1 Chris Dumez 2020-06-09 13:49:58 PDT
Created attachment 401469 [details]
Patch
Comment 2 EWS 2020-06-09 15:04:53 PDT
Committed r262814: <https://trac.webkit.org/changeset/262814>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 401469 [details].
Comment 3 Radar WebKit Bug Importer 2020-06-09 15:05:19 PDT
<rdar://problem/64181793>