diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2017-12-14 10:57:34 -0600 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2017-12-14 12:16:45 -0600 |
commit | c60cfc5a9f49bc7207682a97864d1b3cf9a9a481 (patch) | |
tree | c9dd4375536be970e1790e384b9d83257d025b4c /components/layout/animation.rs | |
parent | 26feea3be5bc70fed7a642ca768187d29469fee0 (diff) | |
download | servo-c60cfc5a9f49bc7207682a97864d1b3cf9a9a481.tar.gz servo-c60cfc5a9f49bc7207682a97864d1b3cf9a9a481.zip |
Turn flow::base and friends into methods
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r-- | components/layout/animation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/animation.rs b/components/layout/animation.rs index 19f621f7fdc..a3c364a7851 100644 --- a/components/layout/animation.rs +++ b/components/layout/animation.rs @@ -5,7 +5,7 @@ //! CSS transitions and animations. use context::LayoutContext; -use flow::{self, Flow}; +use flow::{Flow, GetBaseFlow}; use fnv::FnvHashMap; use gfx::display_list::OpaqueNode; use ipc_channel::ipc::IpcSender; @@ -170,7 +170,7 @@ pub fn recalc_style_for_animations(context: &LayoutContext, } }); - let base = flow::mut_base(flow); + let base = flow.mut_base(); base.restyle_damage.insert(damage); for kid in base.children.iter_mut() { recalc_style_for_animations(context, kid, animations) |