WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
253820
Use bridge instead of reinterpret_cast to convert between NS and CF objects.
https://bugs.webkit.org/show_bug.cgi?id=253820
Summary
Use bridge instead of reinterpret_cast to convert between NS and CF objects.
Seija K.
Reported
2023-03-13 06:34:11 PDT
The current approach is very hacky and the compiler probably doesn't have a strong idea of what is going on compared to when the __bridge macro is used.
Attachments
Add attachment
proposed patch, testcase, etc.
Seija K.
Comment 1
2023-03-13 06:37:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/11420
EWS
Comment 2
2023-03-20 00:04:36 PDT
Committed
261860@main
(b6a50d258a8e): <
https://commits.webkit.org/261860@main
> Reviewed commits have been landed. Closing PR #11420 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-03-20 00:06:17 PDT
<
rdar://problem/106931170
>
David Kilzer (:ddkilzer)
Comment 4
2023-05-03 09:28:33 PDT
This caused:
Bug 255243
: REGRESSION (iOS 16.4 / macOS 13.3): TestWTF.TypeCastsCocoaARC.bridge_cast is a constant failure <
https://bugs.webkit.org/show_bug.cgi?id=255243
> The change to `Source/WTF/wtf/cocoa/TypeCastsCocoa.h` needs to be rolled out until we can find an acceptable fix for iOS 16.4+ and macOS 13.3+. (The change is the correct thing to do, but it requires fixes in other areas before it can re-land.)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug