aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/style/properties/helpers.mako.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/components/style/properties/helpers.mako.rs b/components/style/properties/helpers.mako.rs
index 861bcc2eaa6..b85f9de75db 100644
--- a/components/style/properties/helpers.mako.rs
+++ b/components/style/properties/helpers.mako.rs
@@ -499,13 +499,8 @@
/// correspond to a shorthand.
pub struct LonghandsToSerialize<'a> {
% for sub_property in shorthand.sub_properties:
- % if sub_property.boxed:
- pub ${sub_property.ident}:
- &'a Box<longhands::${sub_property.ident}::SpecifiedValue>,
- % else:
- pub ${sub_property.ident}:
- &'a longhands::${sub_property.ident}::SpecifiedValue,
- % endif
+ pub ${sub_property.ident}:
+ &'a longhands::${sub_property.ident}::SpecifiedValue,
% endfor
}