mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #12677 - Ms2ger:unused-float-sizes, r=Manishearth
Remove unused inline_size_of_preceding_{left,right}_floats fields from BlockFlow. <!-- 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/12677) <!-- Reviewable:end -->
This commit is contained in:
commit
e9d647ca54
1 changed files with 0 additions and 10 deletions
|
@ -511,14 +511,6 @@ pub struct BlockFlow {
|
|||
/// The associated fragment.
|
||||
pub fragment: Fragment,
|
||||
|
||||
/// The sum of the inline-sizes of all logically left floats that precede this block. This is
|
||||
/// used to speculatively lay out block formatting contexts.
|
||||
inline_size_of_preceding_left_floats: Au,
|
||||
|
||||
/// The sum of the inline-sizes of all logically right floats that precede this block. This is
|
||||
/// used to speculatively lay out block formatting contexts.
|
||||
inline_size_of_preceding_right_floats: Au,
|
||||
|
||||
/// Additional floating flow members.
|
||||
pub float: Option<Box<FloatedBlockInfo>>,
|
||||
|
||||
|
@ -548,8 +540,6 @@ impl BlockFlow {
|
|||
None => ForceNonfloatedFlag::ForceNonfloated,
|
||||
}),
|
||||
fragment: fragment,
|
||||
inline_size_of_preceding_left_floats: Au(0),
|
||||
inline_size_of_preceding_right_floats: Au(0),
|
||||
float: float_kind.map(|kind| box FloatedBlockInfo::new(kind)),
|
||||
flags: BlockFlowFlags::empty(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue