implemented a pass-through mark_as_root for FlexFlow

This commit is contained in:
Prabhjyot Singh Sodhi 2015-08-31 12:56:29 +05:30
parent 7dda183022
commit 976c7e0411

View file

@ -312,6 +312,10 @@ impl Flow for FlexFlow {
&mut self.block_flow &mut self.block_flow
} }
fn mark_as_root(&mut self) {
self.block_flow.mark_as_root();
}
fn bubble_inline_sizes(&mut self) { fn bubble_inline_sizes(&mut self) {
let _scope = layout_debug_scope!("flex::bubble_inline_sizes {:x}", let _scope = layout_debug_scope!("flex::bubble_inline_sizes {:x}",
self.block_flow.base.debug_id()); self.block_flow.base.debug_id());