mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Rename add_size_of_children()
methods as add_size_of()
.
This makes them match `size_of` from `MallocSizeOf`.
This commit is contained in:
parent
2d24d2dd04
commit
e030c0d96a
4 changed files with 12 additions and 12 deletions
|
@ -181,8 +181,8 @@ impl PerDocumentStyleDataImpl {
|
|||
}
|
||||
|
||||
/// Measure heap usage.
|
||||
pub fn add_size_of_children(&self, ops: &mut MallocSizeOfOps, sizes: &mut ServoStyleSetSizes) {
|
||||
self.stylist.add_size_of_children(ops, sizes);
|
||||
pub fn add_size_of(&self, ops: &mut MallocSizeOfOps, sizes: &mut ServoStyleSetSizes) {
|
||||
self.stylist.add_size_of(ops, sizes);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue