diff options
Diffstat (limited to 'components/layout/block.rs')
-rw-r--r-- | components/layout/block.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/block.rs b/components/layout/block.rs index b987313b21f..a502611df3b 100644 --- a/components/layout/block.rs +++ b/components/layout/block.rs @@ -471,8 +471,7 @@ impl<'a> PreorderFlowTraversal for AbsoluteAssignBSizesTraversal<'a> { return } - let AbsoluteAssignBSizesTraversal(ref layout_context) = *self; - block.calculate_absolute_block_size_and_margins(*layout_context); + block.calculate_absolute_block_size_and_margins(&self.0); } } |