diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index bd02a7ac944..ae252f46a83 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -321,18 +321,6 @@ impl ${style_struct.gecko_struct_name} { } -<%def name="impl_coord_copy(ident, gecko_ffi_name)"> - #[allow(non_snake_case)] - pub fn copy_${ident}_from(&mut self, other: &Self) { - self.gecko.${gecko_ffi_name}.copy_from(&other.gecko.${gecko_ffi_name}); - } - - #[allow(non_snake_case)] - pub fn reset_${ident}(&mut self, other: &Self) { - self.copy_${ident}_from(other) - } - - <%! def get_gecko_property(ffi_name, self_param = "self"): return "%s.gecko.%s" % (self_param, ffi_name)