mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
auto merge of #4615 : kartaa/servo/master, r=jdm
Update wrapper.rs for Issue #4572 in servo/servo.
This commit is contained in:
commit
b020a015d9
1 changed files with 0 additions and 8 deletions
|
@ -225,14 +225,6 @@ impl<'ln> TLayoutNode for LayoutNode<'ln> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'ln> 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) {
|
pub fn dump(self) {
|
||||||
self.dump_indent(0);
|
self.dump_indent(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue