diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-08-07 20:27:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 20:27:24 -0400 |
commit | ea86eb64be7b1a1bcee4edc33eeb45c47e408497 (patch) | |
tree | 4a0f6e4311823af18fa6e45f5d20bccbf21f1743 /components/layout/animation.rs | |
parent | 7c32ad7c3d13f1e44b05beab937549ba18b48584 (diff) | |
parent | 689293e4fbeb3852eefcda18304a0ae71dc9b8c2 (diff) | |
download | servo-ea86eb64be7b1a1bcee4edc33eeb45c47e408497.tar.gz servo-ea86eb64be7b1a1bcee4edc33eeb45c47e408497.zip |
Auto merge of #21357 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.
See each individual commit.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21357)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r-- | components/layout/animation.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/layout/animation.rs b/components/layout/animation.rs index 05718dda00a..3a09094b2a9 100644 --- a/components/layout/animation.rs +++ b/components/layout/animation.rs @@ -7,7 +7,7 @@ use context::LayoutContext; use display_list::items::OpaqueNode; use flow::{Flow, GetBaseFlow}; -use fnv::FnvHashMap; +use fxhash::FxHashMap; use ipc_channel::ipc::IpcSender; use msg::constellation_msg::PipelineId; use opaque_node::OpaqueNodeMethods; @@ -26,8 +26,8 @@ use style::timer::Timer; pub fn update_animation_state<E>( constellation_chan: &IpcSender<ConstellationMsg>, script_chan: &IpcSender<ConstellationControlMsg>, - running_animations: &mut FnvHashMap<OpaqueNode, Vec<Animation>>, - expired_animations: &mut FnvHashMap<OpaqueNode, Vec<Animation>>, + running_animations: &mut FxHashMap<OpaqueNode, Vec<Animation>>, + expired_animations: &mut FxHashMap<OpaqueNode, Vec<Animation>>, mut newly_transitioning_nodes: Option<&mut Vec<UntrustedNodeAddress>>, new_animations_receiver: &Receiver<Animation>, pipeline_id: PipelineId, @@ -153,7 +153,7 @@ where pub fn recalc_style_for_animations<E>( context: &LayoutContext, flow: &mut Flow, - animations: &FnvHashMap<OpaqueNode, Vec<Animation>>, + animations: &FxHashMap<OpaqueNode, Vec<Animation>>, ) where E: TElement, |