mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Say farewell to in-tree HeapSizeOf
This commit is contained in:
parent
9932a5cf82
commit
cb5cd8d881
80 changed files with 245 additions and 733 deletions
|
@ -6,8 +6,8 @@
|
|||
|
||||
use dom::bindings::conversions::get_dom_class;
|
||||
use dom::bindings::reflector::Reflectable;
|
||||
use heapsize::{HeapSizeOf, heap_size_of};
|
||||
use libc::c_void;
|
||||
use util::mem::{HeapSizeOf, heap_size_of};
|
||||
|
||||
// This is equivalent to measuring a Box<T>, except that DOM objects lose their
|
||||
// associated box in order to stash their pointers in a reserved slot of their
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue