Skip to content

Commit

Permalink
Remove unused inline_size_of_preceding_{left,right}_floats fields fro…
Browse files Browse the repository at this point in the history
…m BlockFlow.
  • Loading branch information
Ms2ger committed Aug 1, 2016
1 parent 5dac1f6 commit 247c86f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions components/layout/block.rs
Expand Up @@ -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>>,

Expand Down Expand Up @@ -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(),
}
Expand Down

0 comments on commit 247c86f

Please sign in to comment.