mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Auto merge of #17348 - emilio:bup, r=bholley
style: Inline RestyleData. Bug: 1368236 MozReview-Commit-ID: 49s3SO0PMHf <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17348) <!-- Reviewable:end -->
This commit is contained in:
commit
33766b2714
11 changed files with 183 additions and 202 deletions
|
@ -7,7 +7,7 @@ use servo_arc::Arc;
|
|||
use std::mem::{size_of, align_of};
|
||||
use style;
|
||||
use style::applicable_declarations::ApplicableDeclarationBlock;
|
||||
use style::data::{ComputedStyle, ElementData, ElementStyles};
|
||||
use style::data::{ComputedStyle, ElementData, ElementStyles, RestyleData};
|
||||
use style::gecko::selector_parser as real;
|
||||
use style::properties::ComputedValues;
|
||||
use style::rule_tree::{RuleNode, StrongRuleNode};
|
||||
|
@ -34,6 +34,7 @@ size_of_test!(test_size_of_option_rule_node, Option<StrongRuleNode>, 8);
|
|||
size_of_test!(test_size_of_computed_style, ComputedStyle, 32);
|
||||
size_of_test!(test_size_of_element_styles, ElementStyles, 48);
|
||||
size_of_test!(test_size_of_element_data, ElementData, 56);
|
||||
size_of_test!(test_size_of_restyle_data, RestyleData, 8);
|
||||
|
||||
size_of_test!(test_size_of_property_declaration, style::properties::PropertyDeclaration, 32);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue