diff options
-rw-r--r-- | components/layout/wrapper.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index c22bb367b60..25aa83a3cc2 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -202,14 +202,6 @@ impl<'ln> TLayoutNode for LayoutNode<'ln> { } impl<'ln> LayoutNode<'ln> { - /// Creates a new layout node, scoped to the given closure. - pub unsafe fn with_layout_node<R>(node: JS<Node>, f: for <'a> |LayoutNode<'a>| -> R) -> R { - f(LayoutNode { - node: node, - chain: ContravariantLifetime, - }) - } - pub fn dump(self) { self.dump_indent(0); } |