mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Remove the traversal for DomRoot values when collection memory usage (#35607)
Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
5aa662437b
commit
b45f05c705
1 changed files with 2 additions and 2 deletions
|
@ -337,8 +337,8 @@ impl<T> MallocSizeOf for DomRoot<T>
|
|||
where
|
||||
T: DomObject + MallocSizeOf,
|
||||
{
|
||||
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize {
|
||||
(**self).size_of(ops)
|
||||
fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize {
|
||||
0
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue