Bug 1332633 - Part 2: Implement the FFI for compute distance.

This FFI will be used by nsDOMWindowUtils::ComputeAnimationDistance,
which will be implemented in another bug.

MozReview-Commit-ID: 6KmMmRiYIew
This commit is contained in:
Boris Chiou 2017-04-21 11:30:56 +08:00
parent 57f87007f2
commit f8ac48b78d
2 changed files with 17 additions and 1 deletions

View file

@ -1753,6 +1753,13 @@ extern "C" {
RawServoAnimationValueBorrowed)
-> bool;
}
extern "C" {
pub fn Servo_AnimationValues_ComputeDistance(from:
RawServoAnimationValueBorrowed,
to:
RawServoAnimationValueBorrowed)
-> f64;
}
extern "C" {
pub fn Servo_AnimationValue_Serialize(value:
RawServoAnimationValueBorrowed,