diff --git a/components/style/gecko_bindings/structs_debug.rs b/components/style/gecko_bindings/structs_debug.rs index 90c6024aef4..cea18c5838e 100644 --- a/components/style/gecko_bindings/structs_debug.rs +++ b/components/style/gecko_bindings/structs_debug.rs @@ -5152,10 +5152,15 @@ pub mod root { pub struct ContainerLayerParameters([u8; 0]); #[repr(C)] #[derive(Debug)] + pub struct AnimationValue { + pub mGecko: root::mozilla::StyleAnimationValue, + pub mServo: root::RefPtr, + } + #[repr(C)] + #[derive(Debug)] pub struct PropertyStyleAnimationValuePair { pub mProperty: root::nsCSSPropertyID, - pub mValue: root::mozilla::StyleAnimationValue, - pub mServoValue: root::RefPtr, + pub mValue: root::mozilla::AnimationValue, } #[test] fn bindgen_test_layout_PropertyStyleAnimationValuePair() { diff --git a/components/style/gecko_bindings/structs_release.rs b/components/style/gecko_bindings/structs_release.rs index b32dcddc148..cd01ced5969 100644 --- a/components/style/gecko_bindings/structs_release.rs +++ b/components/style/gecko_bindings/structs_release.rs @@ -5068,10 +5068,15 @@ pub mod root { pub struct ContainerLayerParameters([u8; 0]); #[repr(C)] #[derive(Debug)] + pub struct AnimationValue { + pub mGecko: root::mozilla::StyleAnimationValue, + pub mServo: root::RefPtr, + } + #[repr(C)] + #[derive(Debug)] pub struct PropertyStyleAnimationValuePair { pub mProperty: root::nsCSSPropertyID, - pub mValue: root::mozilla::StyleAnimationValue, - pub mServoValue: root::RefPtr, + pub mValue: root::mozilla::AnimationValue, } #[test] fn bindgen_test_layout_PropertyStyleAnimationValuePair() { diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index e075843a114..d53c72d3e8c 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -253,7 +253,7 @@ pub extern "C" fn Servo_AnimationValues_Populate(anim: RawGeckoAnimationValueLis // and thus can't directly use `geckoiter` let local_geckoiter = &mut geckoiter; for (gecko, servo) in local_geckoiter.zip(&mut iter) { - gecko.mServoValue.set_arc_leaky(Arc::new(servo)); + gecko.mValue.mServo.set_arc_leaky(Arc::new(servo)); } }