Bug 311853
| Summary: | [GFC][Cleanup] Change ADD_REASON_AND_RETURN_IF_NEEDED to accept GridAvoidanceReason values directly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
| Component: | Layout and Rendering | Assignee: | Sammy Gill <sgill26> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sammy Gill
Right now the macro accepts and uses the values of the enum in the definition (i.e. it prepends GridAvoidanceReason to the token when using it). This prevents us from passing in and using an lvalue that we have.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/174438472>
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/62386
EWS
Committed 310896@main (3b5e0fe59a00): <https://commits.webkit.org/310896@main>
Reviewed commits have been landed. Closing PR #62386 and removing active labels.