diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index 38b86d87c3bd..96f71df09e76 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/components/style/gecko/generated/bindings.rs @@ -2238,13 +2238,6 @@ extern "C" { result: RawGeckoComputedKeyframeValuesListBorrowedMut); } -extern "C" { - pub fn Servo_AnimationValueMap_Push(arg1: - RawServoAnimationValueMapBorrowedMut, - property: nsCSSPropertyID, - value: - RawServoAnimationValueBorrowed); -} extern "C" { pub fn Servo_ComputedValues_ExtractAnimationValue(computed_values: ServoComputedValuesBorrowed, diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index b51a4e85b96a..96c05f6601a3 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -379,18 +379,6 @@ pub extern "C" fn Servo_AnimationValues_ComputeDistance(from: RawServoAnimationV from_value.compute_distance(to_value).unwrap_or(0.0) } -#[no_mangle] -pub extern "C" fn Servo_AnimationValueMap_Push(value_map: RawServoAnimationValueMapBorrowedMut, - property: nsCSSPropertyID, - value: RawServoAnimationValueBorrowed) -{ - use style::properties::animated_properties::AnimationValueMap; - - let value_map = AnimationValueMap::from_ffi_mut(value_map); - let value = AnimationValue::as_arc(&value).as_ref(); - value_map.insert(property.into(), value.clone()); -} - #[no_mangle] pub extern "C" fn Servo_AnimationCompose(raw_value_map: RawServoAnimationValueMapBorrowedMut, base_values: *mut ::std::os::raw::c_void,