mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-29 05:38:24 +00:00
LibGC+LibJS+LibWeb: Add workaround for Swift boolean bitfield issue
This patch adds a workaround for a Swift issue where boolean bitfields with getters and setters in SWIFT_UNSAFE_REFERENCE types are improperly imported, causing an ICE.
This commit is contained in:
parent
08b27f7b6e
commit
e4c88915ab
Notes:
github-actions[bot]
2025-04-03 22:49:40 +00:00
Author: https://github.com/ADKaster
Commit: e4c88915ab
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4053
8 changed files with 60 additions and 43 deletions
|
@ -11,10 +11,10 @@
|
|||
namespace Web::CSS {
|
||||
|
||||
struct RequiredInvalidationAfterStyleChange {
|
||||
bool repaint : 1 { false };
|
||||
bool rebuild_stacking_context_tree : 1 { false };
|
||||
bool relayout : 1 { false };
|
||||
bool rebuild_layout_tree : 1 { false };
|
||||
bool repaint BOOL_BITFIELD { false };
|
||||
bool rebuild_stacking_context_tree BOOL_BITFIELD { false };
|
||||
bool relayout BOOL_BITFIELD { false };
|
||||
bool rebuild_layout_tree BOOL_BITFIELD { false };
|
||||
|
||||
void operator|=(RequiredInvalidationAfterStyleChange const& other)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue