From c9b0ea314f739420a25d0d59e3cce9079a840225 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Mon, 13 Mar 2017 12:42:01 +0900 Subject: [PATCH] Don't set transition properties to mAnimations array. --- components/style/properties/gecko.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}