Navigation Menu

Skip to content

Commit

Permalink
implemented a pass-through mark_as_root for FlexFlow
Browse files Browse the repository at this point in the history
  • Loading branch information
psdh committed Aug 31, 2015
1 parent 7dda183 commit 976c7e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/layout/flex.rs
Expand Up @@ -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());
Expand Down

0 comments on commit 976c7e0

Please sign in to comment.