auto merge of #4615 : kartaa/servo/master, r=jdm

Update wrapper.rs for Issue #4572 in servo/servo.
This commit is contained in:
bors-servo 2015-01-12 08:24:47 -07:00
commit b020a015d9

View file

@ -225,14 +225,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);
}