diff options
Diffstat (limited to 'components/style')
-rw-r--r-- | components/style/gecko_string_cache/mod.rs | 2 | ||||
-rw-r--r-- | components/style/properties/longhand/color.mako.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs index d48b679ceaf..8346c7491f2 100644 --- a/components/style/gecko_string_cache/mod.rs +++ b/components/style/gecko_string_cache/mod.rs @@ -389,4 +389,4 @@ impl From<*mut nsAtom> for Atom { } } -size_of_is_0!(Atom); +malloc_size_of_is_0!(Atom); diff --git a/components/style/properties/longhand/color.mako.rs b/components/style/properties/longhand/color.mako.rs index b9722fc8fc9..bb39dbf27cd 100644 --- a/components/style/properties/longhand/color.mako.rs +++ b/components/style/properties/longhand/color.mako.rs @@ -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 { |