From 10a1e1e15f713756ebb38509d619abb3c79a1f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 4 Jan 2018 14:45:38 +0100 Subject: [PATCH] style: Simplify some ComputedValueFlags setters. --- components/style/properties/properties.mako.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 12750e33b2a..fa8a1fdf1fa 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -2752,16 +2752,16 @@ impl<'a> StyleBuilder<'a> { % endif % if not property.style_struct.inherited: - self.flags.insert(::properties::computed_value_flags::ComputedValueFlags::INHERITS_RESET_STYLE); + self.flags.insert(ComputedValueFlags::INHERITS_RESET_STYLE); self.modified_reset = true; % endif % if property.ident == "content": - self.flags.insert(::properties::computed_value_flags::ComputedValueFlags::INHERITS_CONTENT); + self.flags.insert(ComputedValueFlags::INHERITS_CONTENT); % endif % if property.ident == "display": - self.flags.insert(::properties::computed_value_flags::ComputedValueFlags::INHERITS_DISPLAY); + self.flags.insert(ComputedValueFlags::INHERITS_DISPLAY); % endif self.${property.style_struct.ident}.mutate()