From 247c86f887f3fb5253fe592c78f4d1567b2ce312 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Mon, 25 Jul 2016 14:36:14 +0200 Subject: [PATCH] Remove unused inline_size_of_preceding_{left,right}_floats fields from BlockFlow. --- components/layout/block.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/layout/block.rs b/components/layout/block.rs index 4f6bf28004b..c7407f1d7b1 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -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>, @@ -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(), }