diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 2f7cc0945af..5866fce056b 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -1323,7 +1323,7 @@ fn static_assert() { pub fn ${type}_${ident}_at(&self, index: usize) -> longhands::${type}_${ident}::computed_value::SingleComputedValue { use values::specified::Time; - Time(self.gecko.mAnimations[index].m${gecko_ffi_name} / 1000.) + Time(self.gecko.m${type.capitalize()}s[index].m${gecko_ffi_name} / 1000.) } ${impl_animation_or_transition_count(type, ident, gecko_ffi_name)} ${impl_copy_animation_or_transition_value(type, ident, gecko_ffi_name)}