mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 686281 - A static assertion to keep value correctness of NS_RULE_NODE_IS_ANIMATION_RULE; r=dbaron.
This commit is contained in:
parent
556c88fd3b
commit
2372884d57
@ -96,6 +96,8 @@ static_assert(int(mozilla::SheetType::Count) - 1 <=
|
||||
(NS_RULE_NODE_LEVEL_MASK >> NS_RULE_NODE_LEVEL_SHIFT),
|
||||
"NS_RULE_NODE_LEVEL_MASK cannot fit SheetType");
|
||||
|
||||
static_assert(NS_RULE_NODE_IS_ANIMATION_RULE == (1 << nsStyleStructID_Length),
|
||||
"NS_RULE_NODE_IS_ANIMATION_RULE must not overlap the style struct bits.");
|
||||
// The lifetime of these objects is managed by the presshell's arena.
|
||||
|
||||
struct nsStyleFont
|
||||
|
Loading…
Reference in New Issue
Block a user