From 976c7e0411a87d1d53a6515031548d755dcb895b Mon Sep 17 00:00:00 2001 From: Prabhjyot Singh Sodhi Date: Mon, 31 Aug 2015 12:56:29 +0530 Subject: [PATCH] implemented a pass-through mark_as_root for FlexFlow --- components/layout/flex.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/layout/flex.rs b/components/layout/flex.rs index 3c34aeaf7286..88fe929a9d38 100644 --- a/components/layout/flex.rs +++ b/components/layout/flex.rs @@ -312,6 +312,10 @@ impl Flow for FlexFlow { &mut self.block_flow } + fn mark_as_root(&mut self) { + self.block_flow.mark_as_root(); + } + fn bubble_inline_sizes(&mut self) { let _scope = layout_debug_scope!("flex::bubble_inline_sizes {:x}", self.block_flow.base.debug_id());