Bug 1511811 - Minor build fixup after the Servo crossbeam_channel update.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Mon, 03 Dec 2018 08:08:34 -0500
changeset 508482 bc9324a80fac8d94452ee278c2332f23ce04fbdf
parent 508481 eeef84fe603dacc8421c14ac951cffe569c8c815
child 508483 decb54eeaa7db1b065fb92eede8ac43c3edb5199
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1511811
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1511811 - Minor build fixup after the Servo crossbeam_channel update.
servo/components/style/animation.rs
--- a/servo/components/style/animation.rs
+++ b/servo/components/style/animation.rs
@@ -20,16 +20,17 @@ use crate::rule_tree::CascadeLevel;
 use crate::stylesheets::keyframes_rule::{KeyframesAnimation, KeyframesStep, KeyframesStepValue};
 use crate::timer::Timer;
 use crate::values::computed::box_::TransitionProperty;
 use crate::values::computed::Time;
 use crate::values::computed::TimingFunction;
 use crate::values::generics::box_::AnimationIterationCount;
 use crate::values::generics::easing::{StepPosition, TimingFunction as GenericTimingFunction};
 use crate::Atom;
+#[cfg(feature = "servo")]
 use crossbeam_channel::Sender;
 use servo_arc::Arc;
 use std::fmt;
 #[cfg(feature = "gecko")]
 use std::sync::mpsc::Sender;
 
 /// This structure represents a keyframes animation current iteration state.
 ///