aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/construct.rs
diff options
context:
space:
mode:
authorAnthony Ramine <nox@nox.paris>2019-10-03 18:08:16 +0200
committerAnthony Ramine <nox@nox.paris>2019-10-04 10:03:42 +0200
commitec74204fa0719856069770ac05c5aa7ac90cc4b2 (patch)
tree281eb4320a84c78b5d0aba3dc1a50cabfd0c73d5 /components/layout_2020/flow/construct.rs
parent9706cd497da0fcc30c9af04b7d3dc0d4e9d7c8fb (diff)
downloadservo-ec74204fa0719856069770ac05c5aa7ac90cc4b2.tar.gz
servo-ec74204fa0719856069770ac05c5aa7ac90cc4b2.zip
Call BoxTreeRoot::construct from layout_thread_2020
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
-rw-r--r--components/layout_2020/flow/construct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_2020/flow/construct.rs b/components/layout_2020/flow/construct.rs
index 6b2027a8794..abdfae0bc84 100644
--- a/components/layout_2020/flow/construct.rs
+++ b/components/layout_2020/flow/construct.rs
@@ -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,
}