From 2f2de90eab263baf2d630d4f420a47c7a2e21576 Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Fri, 21 Apr 2017 11:31:41 +0800 Subject: [PATCH] Bug 1332633 - Add Servo_AnimationValues_ComputeDistance. r=emilio This FFI will be used by nsDOMWindowUtils::ComputeAnimationDistance, which will be implemented in another bug. MozReview-Commit-ID: G3aYICDnCLA --HG-- extra : rebase_source : 6bb2a8452f7d954da7dcc1da0818e125b5cb17bc --- layout/style/ServoBindingList.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layout/style/ServoBindingList.h b/layout/style/ServoBindingList.h index d2d33be24001..dab9fb60e785 100644 --- a/layout/style/ServoBindingList.h +++ b/layout/style/ServoBindingList.h @@ -163,6 +163,9 @@ SERVO_BINDING_FUNC(Servo_AnimationValues_Interpolate, SERVO_BINDING_FUNC(Servo_AnimationValues_IsInterpolable, bool, RawServoAnimationValueBorrowed from, RawServoAnimationValueBorrowed to) +SERVO_BINDING_FUNC(Servo_AnimationValues_ComputeDistance, double, + RawServoAnimationValueBorrowed from, + RawServoAnimationValueBorrowed to) SERVO_BINDING_FUNC(Servo_AnimationValue_Serialize, void, RawServoAnimationValueBorrowed value, nsCSSPropertyID property,