mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Turn flow::base and friends into methods
This commit is contained in:
parent
26feea3be5
commit
c60cfc5a9f
20 changed files with 211 additions and 212 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue