mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Drop Servo_AnimationValueMap_Push
This commit is contained in:
parent
2209566195
commit
f8e2f85cdc
2 changed files with 0 additions and 19 deletions
|
@ -2238,13 +2238,6 @@ extern "C" {
|
||||||
result:
|
result:
|
||||||
RawGeckoComputedKeyframeValuesListBorrowedMut);
|
RawGeckoComputedKeyframeValuesListBorrowedMut);
|
||||||
}
|
}
|
||||||
extern "C" {
|
|
||||||
pub fn Servo_AnimationValueMap_Push(arg1:
|
|
||||||
RawServoAnimationValueMapBorrowedMut,
|
|
||||||
property: nsCSSPropertyID,
|
|
||||||
value:
|
|
||||||
RawServoAnimationValueBorrowed);
|
|
||||||
}
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn Servo_ComputedValues_ExtractAnimationValue(computed_values:
|
pub fn Servo_ComputedValues_ExtractAnimationValue(computed_values:
|
||||||
ServoComputedValuesBorrowed,
|
ServoComputedValuesBorrowed,
|
||||||
|
|
|
@ -379,18 +379,6 @@ pub extern "C" fn Servo_AnimationValues_ComputeDistance(from: RawServoAnimationV
|
||||||
from_value.compute_distance(to_value).unwrap_or(0.0)
|
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]
|
#[no_mangle]
|
||||||
pub extern "C" fn Servo_AnimationCompose(raw_value_map: RawServoAnimationValueMapBorrowedMut,
|
pub extern "C" fn Servo_AnimationCompose(raw_value_map: RawServoAnimationValueMapBorrowedMut,
|
||||||
base_values: *mut ::std::os::raw::c_void,
|
base_values: *mut ::std::os::raw::c_void,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue