mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +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
|
where
|
||||||
T: DomObject + MallocSizeOf,
|
T: DomObject + MallocSizeOf,
|
||||||
{
|
{
|
||||||
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize {
|
fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize {
|
||||||
(**self).size_of(ops)
|
0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue