mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Rename size_of_is_0!
as malloc_size_of_is_0!
.
The new name makes it clearer that it comes from the `malloc_size_of` crate.
This commit is contained in:
parent
ac74cd57a2
commit
a26d25db12
3 changed files with 12 additions and 12 deletions
|
@ -389,4 +389,4 @@ impl From<*mut nsAtom> for Atom {
|
|||
}
|
||||
}
|
||||
|
||||
size_of_is_0!(Atom);
|
||||
malloc_size_of_is_0!(Atom);
|
||||
|
|
|
@ -72,7 +72,7 @@ pub mod system_colors {
|
|||
|
||||
// It's hard to implement MallocSizeOf for LookAndFeel_ColorID because it
|
||||
// is a bindgen type. So we implement it on the typedef instead.
|
||||
size_of_is_0!(SystemColor);
|
||||
malloc_size_of_is_0!(SystemColor);
|
||||
|
||||
impl ToCss for SystemColor {
|
||||
fn to_css<W>(&self, dest: &mut W) -> fmt::Result where W: fmt::Write {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue