Bug 281681
| Summary: | Refactor Font::systemFallback to use a proper Font object placeholder | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vitor Roriz <vitor.roriz> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | fantasai.bugs, vitor.roriz, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Vitor Roriz
Font::systemFallback uses a -1 (0xfff...f) address to represent a Font pointer that is a system font fallback. This is later handled and allocated properly.
This disables us for adopting RefPtr<Font> at some locations, since we can't create a RefPtr of an invalid address.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/138132620>
Vitor Roriz
Pull request: https://github.com/WebKit/WebKit/pull/35374
EWS
Committed 285370@main (c3af7ac0c64b): <https://commits.webkit.org/285370@main>
Reviewed commits have been landed. Closing PR #35374 and removing active labels.