aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_cell.rs
diff options
context:
space:
mode:
authorAnthony Ramine <nox@nox.paris>2020-03-26 13:17:46 +0100
committerAnthony Ramine <nox@nox.paris>2020-03-26 13:17:46 +0100
commit04af32128c10f8a67e8c012e68359169bbb8ef5e (patch)
tree2091f392710a4a36389b0e98edaf792f5a3e71e9 /components/layout/table_cell.rs
parent2d055cbf6b8114bcc4f941b6f206f8e8014cc31a (diff)
downloadservo-04af32128c10f8a67e8c012e68359169bbb8ef5e.tar.gz
servo-04af32128c10f8a67e8c012e68359169bbb8ef5e.zip
Add a 'dom lifetime to GetLayoutData
Diffstat (limited to 'components/layout/table_cell.rs')
-rw-r--r--components/layout/table_cell.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs
index 89d83702f0e..b1fa1852650 100644
--- a/components/layout/table_cell.rs
+++ b/components/layout/table_cell.rs
@@ -61,8 +61,8 @@ impl TableCellFlow {
}
}
- pub fn from_node_fragment_and_visibility_flag<N: ThreadSafeLayoutNode>(
- node: &N,
+ pub fn from_node_fragment_and_visibility_flag<'dom>(
+ node: &impl ThreadSafeLayoutNode<'dom>,
fragment: Fragment,
visible: bool,
) -> TableCellFlow {