Bug 253820
| Summary: | Use bridge instead of reinterpret_cast to convert between NS and CF objects. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Seija K. <gfunni234> |
| Component: | Web Template Framework | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ddkilzer, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 255243 | ||
Seija K.
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.
Pull request: https://github.com/WebKit/WebKit/pull/11420
EWS
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
<rdar://problem/106931170>
David Kilzer (:ddkilzer)
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.)