diff options
Diffstat (limited to 'components/style/custom_properties.rs')
-rw-r--r-- | components/style/custom_properties.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/style/custom_properties.rs b/components/style/custom_properties.rs index 6d72bb7b369..974f27e47eb 100644 --- a/components/style/custom_properties.rs +++ b/components/style/custom_properties.rs @@ -40,6 +40,7 @@ pub fn parse_name(s: &str) -> Result<&str, ()> { /// We preserve the original CSS for serialization, and also the variable /// references to other custom property names. #[derive(Clone, Debug, PartialEq)] +#[cfg_attr(feature = "gecko", derive(MallocSizeOf))] #[cfg_attr(feature = "servo", derive(HeapSizeOf))] pub struct SpecifiedValue { css: String, |