diff --git a/components/style/animation.rs b/components/style/animation.rs index c2e3f33b794..e76c9b7251c 100644 --- a/components/style/animation.rs +++ b/components/style/animation.rs @@ -419,17 +419,15 @@ impl PropertyAnimation { /// Inserts transitions into the queue of running animations as applicable for /// the given style difference. This is called from the layout worker threads. /// Returns true if any animations were kicked off and false otherwise. -// -// TODO(emilio): Take rid of this mutex splitting SharedLayoutContex into a -// cloneable part and a non-cloneable part.. #[cfg(feature = "servo")] -pub fn start_transitions_if_applicable(new_animations_sender: &Sender, - opaque_node: OpaqueNode, - old_style: &ComputedValues, - new_style: &mut Arc, - timer: &Timer, - possibly_expired_animations: &[PropertyAnimation]) - -> bool { +pub fn start_transitions_if_applicable( + new_animations_sender: &Sender, + opaque_node: OpaqueNode, + old_style: &ComputedValues, + new_style: &mut Arc, + timer: &Timer, + possibly_expired_animations: &[PropertyAnimation] +) -> bool { let mut had_animations = false; for i in 0..new_style.get_box().transition_property_count() { // Create any property animations, if applicable.