aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/flex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/flex.rs')
-rw-r--r--components/layout/flex.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/components/layout/flex.rs b/components/layout/flex.rs
index c40c6a1b433..2a45e5f4514 100644
--- a/components/layout/flex.rs
+++ b/components/layout/flex.rs
@@ -16,8 +16,6 @@ use flow;
use flow::{Flow, FlowClass, ImmutableFlowUtils, OpaqueFlow};
use flow::{INLINE_POSITION_IS_STATIC, IS_ABSOLUTELY_POSITIONED};
use fragment::{Fragment, FragmentBorderBoxIterator, Overflow};
-use gfx::display_list::StackingContext;
-use gfx_traits::ScrollRootId;
use layout_debug;
use model::{IntrinsicISizes, MaybeAuto, SizeConstraint};
use model::{specified, specified_or_none};
@@ -967,10 +965,8 @@ impl Flow for FlexFlow {
self.build_display_list_for_flex(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>) {