aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/mem.rs
Commit message (Collapse)AuthorAgeFilesLines
* more refactoringrohan.prinja2015-10-301-1/+1
|
* Introduce DOMClass::heap_size_ofAnthony Ramine2015-10-141-231/+16
| | | | | | | | It holds a function pointer to the HeapSizeOf::heap_size_of_children() implementation corresponding to that IDL interface. This removes the need for a clumsly TypeId-based match expression in the former heap_size_of_eventtarget() function.
* Generate the TypeId enums in codegenAnthony Ramine2015-10-141-12/+5
|
* Cleanup code that was warned by rust-clippyCorey Farwell2015-10-111-213/+213
|
* Introduce [Abstract] to mark non-leaf interfacesAnthony Ramine2015-09-131-10/+0
| | | | | | | Some interfaces like Node, CharacterData and HTMLTableCellElement are never instantiated directly, only their descendant interfaces are. Those are marked with [Abstract] to set their type_id to None instead of having dummy values in the TypeId enums.
* Move EventTargetTypeId/NodeTypeId to DOMClassMichael Wu2015-09-121-2/+14
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-4/+217
|
* Start reporting memory usage for Window and all nodes in all DOM trees for ↵Josh Matthews2015-08-031-0/+36
frame treese in script tasks.