mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Remove unused replaced size calculation methods
Remove some fields and methods from SpecificFragmentInfo and change some function signatures.
This commit is contained in:
parent
19a4f8f6c1
commit
07250a7d58
5 changed files with 15 additions and 293 deletions
|
@ -111,9 +111,7 @@ impl Flow for ListItemFlow {
|
|||
&mut layout_context.font_context(),
|
||||
&*self.block_flow.fragment.style);
|
||||
for marker in &mut self.marker_fragments {
|
||||
let containing_block_block_size =
|
||||
self.block_flow.base.block_container_explicit_block_size;
|
||||
marker.assign_replaced_block_size_if_necessary(containing_block_block_size);
|
||||
marker.assign_replaced_block_size_if_necessary();
|
||||
let marker_inline_metrics = marker.aligned_inline_metrics(layout_context,
|
||||
&marker_line_metrics,
|
||||
Some(&marker_line_metrics));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue