diff options
Diffstat (limited to 'components/layout/table_caption.rs')
-rw-r--r-- | components/layout/table_caption.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/components/layout/table_caption.rs b/components/layout/table_caption.rs index 523a1f0e071..926aa872f6b 100644 --- a/components/layout/table_caption.rs +++ b/components/layout/table_caption.rs @@ -13,8 +13,6 @@ use display_list_builder::DisplayListBuildState; use euclid::Point2D; use flow::{Flow, FlowClass, OpaqueFlow}; use fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; -use gfx::display_list::StackingContext; -use gfx_traits::ScrollRootId; use gfx_traits::print_tree::PrintTree; use std::fmt; use std::sync::Arc; @@ -83,10 +81,8 @@ impl Flow for TableCaptionFlow { self.block_flow.build_display_list(state); } - fn collect_stacking_contexts(&mut self, - parent: &mut StackingContext, - parent_scroll_root_id: ScrollRootId) { - self.block_flow.collect_stacking_contexts(parent, parent_scroll_root_id); + fn collect_stacking_contexts(&mut self, state: &mut DisplayListBuildState) { + self.block_flow.collect_stacking_contexts(state); } fn repair_style(&mut self, new_style: &Arc<ServoComputedValues>) { |