servo/components/style/gecko/generated
Nicholas Nethercote 6d5b1242db Introduce and start using the MallocSizeOf trait.
MallocSizeOf is similar to the existing HeapSizeOf trait from the
heapsize crate. The only difference is that MallocSizeOf's
malloc_size_of_children() function takes an additional MallocSizeOfFn
argument, which is used to measure heap blocks. This extra argument
makes MallocSizeOf match how Gecko's memory measurements work, and is
required for Stylo to integrate with DMD.

The patch also introduces a second trait, MallocSizeOfWithGuard, which
is much the same as MallocSizeOf, but with a |guard| argument for the
global style lock.

Finally, the patch uses the new traits to measure a small amount of
Stylo's memory usage.
2017-05-29 10:16:55 +10:00
..
atom_macro.rs Update binding files from autoland. 2017-05-27 20:39:54 +10:00
bindings.rs Introduce and start using the MallocSizeOf trait. 2017-05-29 10:16:55 +10:00
pseudo_element_definition.rs Bug 1364412: Expose pseudo-element flags, and properly reject pseudos in non-UA sheets. r=bholley 2017-05-16 02:53:43 +02:00
structs_debug.rs Auto merge of #17058 - Manishearth:stylo-randomprops, r=emilio 2017-05-27 13:37:59 -05:00
structs_release.rs Auto merge of #17058 - Manishearth:stylo-randomprops, r=emilio 2017-05-27 13:37:59 -05:00