aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/flow/root.rs
diff options
context:
space:
mode:
authorbors-servo <servo-ops@mozilla.com>2020-03-28 13:37:31 -0400
committerGitHub <noreply@github.com>2020-03-28 13:37:31 -0400
commit15d8c6058bb5fd21036cb35500a0c2f23a9ef7f7 (patch)
treefde1850c9fe7f9050d0342a7c01f76f39985040f /components/layout_2020/flow/root.rs
parente69de9bc9cf5cdd29d1c392c613bc1c1ad4815bf (diff)
parentdba6a635e5df980b2837495aae59711739c23716 (diff)
downloadservo-15d8c6058bb5fd21036cb35500a0c2f23a9ef7f7.tar.gz
servo-15d8c6058bb5fd21036cb35500a0c2f23a9ef7f7.zip
Auto merge of #26048 - nox:layout-2020-transparent-data, r=jdm
Give a lifetime parameter to LayoutDom
Diffstat (limited to 'components/layout_2020/flow/root.rs')
-rw-r--r--components/layout_2020/flow/root.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/root.rs b/components/layout_2020/flow/root.rs
index 975d5470636..adbcb26d4c9 100644
--- a/components/layout_2020/flow/root.rs
+++ b/components/layout_2020/flow/root.rs
@@ -50,7 +50,7 @@ pub struct FragmentTreeRoot {
impl BoxTreeRoot {
pub fn construct<'dom, Node>(context: &LayoutContext, root_element: Node) -> Self
where
- Node: 'dom + Copy + LayoutNode + Send + Sync,
+ Node: 'dom + Copy + LayoutNode<'dom> + Send + Sync,
{
let (contains_floats, boxes) = construct_for_root_element(&context, root_element);
Self(BlockFormattingContext {