diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2016-11-30 09:32:18 -0800 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2016-11-30 09:38:27 -0800 |
commit | be6ee9d1dd7d8a36df868f3c1a605acbca890a8b (patch) | |
tree | e9c15bb8e3d0b2c04cbc7312530ca4e8bf51859c /components/layout/flow.rs | |
parent | f14e7339b5ff95fce0127dce4fe87ce082ab7259 (diff) | |
download | servo-be6ee9d1dd7d8a36df868f3c1a605acbca890a8b.tar.gz servo-be6ee9d1dd7d8a36df868f3c1a605acbca890a8b.zip |
Remove unnecessary Flow::column_sizes methods
Diffstat (limited to 'components/layout/flow.rs')
-rw-r--r-- | components/layout/flow.rs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/components/layout/flow.rs b/components/layout/flow.rs index fae309d2ae2..2833fc0b076 100644 --- a/components/layout/flow.rs +++ b/components/layout/flow.rs @@ -56,7 +56,7 @@ use style::properties::ServoComputedValues; use style::selector_impl::RestyleDamage; use style::servo::restyle_damage::{RECONSTRUCT_FLOW, REFLOW, REFLOW_OUT_OF_FLOW, REPAINT, REPOSITION}; use style::values::computed::LengthOrPercentageOrAuto; -use table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize, TableFlow}; +use table::TableFlow; use table_caption::TableCaptionFlow; use table_cell::TableCellFlow; use table_colgroup::TableColGroupFlow; @@ -180,18 +180,6 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static { panic!("called as_table_cell() on a non-tablecell flow") } - /// If this is a table row, table rowgroup, or table flow, returns column intrinsic - /// inline-sizes. Fails otherwise. - fn column_intrinsic_inline_sizes(&mut self) -> &mut Vec<ColumnIntrinsicInlineSize> { - panic!("called column_intrinsic_inline_sizes() on non-table flow") - } - - /// If this is a table row, table rowgroup, or table flow, returns column computed - /// inline-sizes. Fails otherwise. - fn column_computed_inline_sizes(&mut self) -> &mut Vec<ColumnComputedInlineSize> { - panic!("called column_intrinsic_inline_sizes() on non-table flow") - } - // Main methods /// Pass 1 of reflow: computes minimum and preferred inline-sizes. |