mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
parent
eae9b94399
commit
bf21217504
1 changed files with 9 additions and 0 deletions
|
@ -126,6 +126,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue