mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove unused Flow method
This commit is contained in:
parent
b020a015d9
commit
97a8b617fb
1 changed files with 1 additions and 7 deletions
|
@ -35,7 +35,7 @@ use flow_ref::FlowRef;
|
|||
use fragment::{Fragment, FragmentBorderBoxIterator, SpecificFragmentInfo};
|
||||
use incremental::{RECONSTRUCT_FLOW, REFLOW, REFLOW_OUT_OF_FLOW, RestyleDamage};
|
||||
use inline::InlineFlow;
|
||||
use model::{CollapsibleMargins, IntrinsicISizes, MarginCollapseInfo};
|
||||
use model::{CollapsibleMargins, IntrinsicISizes};
|
||||
use parallel::FlowParallelInfo;
|
||||
use table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize, TableFlow};
|
||||
use table_caption::TableCaptionFlow;
|
||||
|
@ -228,12 +228,6 @@ pub trait Flow: fmt::Show + ToString + Sync {
|
|||
iterator: &mut FragmentBorderBoxIterator,
|
||||
stacking_context_position: &Point2D<Au>);
|
||||
|
||||
fn compute_collapsible_block_start_margin(&mut self,
|
||||
_layout_context: &mut LayoutContext,
|
||||
_margin_collapse_info: &mut MarginCollapseInfo) {
|
||||
// The default implementation is a no-op.
|
||||
}
|
||||
|
||||
/// Marks this flow as the root flow. The default implementation is a no-op.
|
||||
fn mark_as_root(&mut self) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue