Bug 1335942 - Part 1: Introduce mozilla::AnimationValue. r=manishearth

Use AnimationValue to wrap StyleAnimationValue and RawServoAnimationValue.
This commit is contained in:
Boris Chiou 2017-02-08 11:01:09 +08:00
parent e2b494b1d0
commit c7dc3e4008
3 changed files with 15 additions and 5 deletions

View file

@ -253,7 +253,7 @@ pub extern "C" fn Servo_AnimationValues_Populate(anim: RawGeckoAnimationValueLis
// and thus can't directly use `geckoiter`
let local_geckoiter = &mut geckoiter;
for (gecko, servo) in local_geckoiter.zip(&mut iter) {
gecko.mServoValue.set_arc_leaky(Arc::new(servo));
gecko.mValue.mServo.set_arc_leaky(Arc::new(servo));
}
}