auto merge of #2607 : bjz/servo/leeeeeak, r=jdm

Introduced by yours-truly in 7212c3573e

Oopsie.
This commit is contained in:
bors-servo 2014-06-06 17:49:21 -04:00
commit f1194fc85b

View file

@ -130,6 +130,15 @@ impl NodeFlags {
}
}
#[unsafe_destructor]
impl Drop for Node {
fn drop(&mut self) {
unsafe {
self.reap_layout_data();
}
}
}
/// suppress observers flag
/// http://dom.spec.whatwg.org/#concept-node-insert
/// http://dom.spec.whatwg.org/#concept-node-remove