diff options
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r-- | components/layout/traversal.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs index e1db809bd8f..21ebb2f1b56 100644 --- a/components/layout/traversal.rs +++ b/components/layout/traversal.rs @@ -4,10 +4,10 @@ //! Traversals over the DOM and flow trees, running the layout computations. -use construct::FlowConstructor; -use context::LayoutContext; -use display_list::DisplayListBuildState; -use flow::{FlowFlags, Flow, GetBaseFlow, ImmutableFlowUtils}; +use crate::construct::FlowConstructor; +use crate::context::LayoutContext; +use crate::display_list::DisplayListBuildState; +use crate::flow::{FlowFlags, Flow, GetBaseFlow, ImmutableFlowUtils}; use script_layout_interface::wrapper_traits::{LayoutNode, ThreadSafeLayoutNode}; use servo_config::opts; use style::context::{SharedStyleContext, StyleContext}; @@ -17,8 +17,8 @@ use style::selector_parser::RestyleDamage; use style::servo::restyle_damage::ServoRestyleDamage; use style::traversal::{DomTraversal, recalc_style_at}; use style::traversal::PerLevelTraversalData; -use wrapper::{GetRawData, LayoutNodeLayoutData}; -use wrapper::ThreadSafeLayoutNodeHelpers; +use crate::wrapper::{GetRawData, LayoutNodeLayoutData}; +use crate::wrapper::ThreadSafeLayoutNodeHelpers; pub struct RecalcStyleAndConstructFlows<'a> { context: LayoutContext<'a>, @@ -220,7 +220,7 @@ where .mutate_layout_data() .unwrap() .flags - .insert(::data::LayoutDataFlags::HAS_BEEN_TRAVERSED); + .insert(crate::data::LayoutDataFlags::HAS_BEEN_TRAVERSED); } if let Some(el) = node.as_element() { |