Call BoxTreeRoot::construct from layout_thread_2020

This commit is contained in:
Anthony Ramine 2019-10-03 18:08:16 +02:00
parent 9706cd497d
commit ec74204fa0
12 changed files with 51 additions and 42 deletions

View file

@ -123,7 +123,7 @@ struct BlockContainerBuilder<'dom, 'style, Node> {
}
impl BlockContainer {
pub fn construct<'dom, 'style>(
pub(crate) fn construct<'dom, 'style>(
context: &SharedStyleContext<'style>,
block_container_style: &Arc<ComputedValues>,
contents: NonReplacedContents<impl NodeExt<'dom>>,
@ -646,7 +646,7 @@ where
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub(crate) enum ContainsFloats {
pub enum ContainsFloats {
No,
Yes,
}