From 6139f8175c4c09f5cd445c13f132a7eacd3606ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sun, 17 Sep 2017 01:47:07 +0200 Subject: [PATCH] style: Remove useless Data::manual_style_structs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Emilio Cobos Álvarez --- components/style/properties/gecko.mako.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index c28307b5d68..538d8a98c5a 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -1274,13 +1274,11 @@ impl ${style_struct.gecko_struct_name} { } -<% data.manual_style_structs = [] %> <%def name="impl_trait(style_struct_name, skip_longhands='', skip_additionals='')"> <%self:raw_impl_trait style_struct="${next(x for x in data.style_structs if x.name == style_struct_name)}" skip_longhands="${skip_longhands}" skip_additionals="${skip_additionals}"> ${caller.body()} -<% data.manual_style_structs.append(style_struct_name) %> <%! @@ -5719,7 +5717,4 @@ clip-path % for style_struct in data.style_structs: ${declare_style_struct(style_struct)} ${impl_style_struct(style_struct)} -% if not style_struct.name in data.manual_style_structs: -<%self:raw_impl_trait style_struct="${style_struct}"> -% endif % endfor