mirror of
https://github.com/servo/servo.git
synced 2025-09-01 02:28:21 +01:00
Remove Option wrapper from RuleNode's StyleSource to save one word, add
a None variant to StyleSource as an indicator for a lack of style source, and refactor all uses with this new form
This commit is contained in:
parent
e41b7d06b4
commit
0fe381d774
5 changed files with 48 additions and 32 deletions
|
@ -42,7 +42,7 @@ size_of_test!(test_size_of_application_declaration_block, ApplicableDeclarationB
|
|||
|
||||
// FIXME(bholley): This can shrink with a little bit of work.
|
||||
// See https://github.com/servo/servo/issues/17280
|
||||
size_of_test!(test_size_of_rule_node, RuleNode, 88);
|
||||
size_of_test!(test_size_of_rule_node, RuleNode, 80);
|
||||
|
||||
// This is huge, but we allocate it on the stack and then never move it,
|
||||
// we only pass `&mut SourcePropertyDeclaration` references around.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue