Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Drop Servo_AnimationValueMap_Push
  • Loading branch information
birtles committed Jun 15, 2017
1 parent 2209566 commit f8e2f85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
7 changes: 0 additions & 7 deletions components/style/gecko/generated/bindings.rs
Expand Up @@ -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,
Expand Down
12 changes: 0 additions & 12 deletions ports/geckolib/glue.rs
Expand Up @@ -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,
Expand Down

0 comments on commit f8e2f85

Please sign in to comment.