aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_thread')
-rw-r--r--components/layout_thread/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs
index 8c275230b23..98637f7e96c 100644
--- a/components/layout_thread/lib.rs
+++ b/components/layout_thread/lib.rs
@@ -14,15 +14,15 @@ use std::process;
use std::sync::{Arc, LazyLock, Mutex};
use app_units::Au;
+use base::Epoch;
use base::cross_process_instant::CrossProcessInstant;
use base::id::{PipelineId, WebViewId};
-use base::Epoch;
use embedder_traits::resources::{self, Resource};
use euclid::default::{Point2D as UntypedPoint2D, Rect as UntypedRect, Size2D as UntypedSize2D};
use euclid::{Point2D, Rect, Scale, Size2D};
use fnv::FnvHashMap;
use fonts::{
- get_and_reset_text_shaping_performance_counter, FontContext, FontContextWebFontMethods,
+ FontContext, FontContextWebFontMethods, get_and_reset_text_shaping_performance_counter,
};
use fonts_traits::StylesheetWebFontLoadFinishedCallback;
use fxhash::{FxHashMap, FxHashSet};
@@ -41,8 +41,8 @@ use layout::query::{
process_scrolling_area_request,
};
use layout::traversal::{
- construct_flows_at_ancestors, ComputeStackingRelativePositions, PreorderFlowTraversal,
- RecalcStyleAndConstructFlows,
+ ComputeStackingRelativePositions, PreorderFlowTraversal, RecalcStyleAndConstructFlows,
+ construct_flows_at_ancestors,
};
use layout::wrapper::ThreadSafeLayoutNodeHelpers;
use layout::{parallel, sequential};
@@ -103,7 +103,7 @@ use style_traits::{CSSPixel, SpeculativePainter};
use time::Duration;
use url::Url;
use webrender_api::units::DevicePixel;
-use webrender_api::{units, ColorF, HitTestFlags};
+use webrender_api::{ColorF, HitTestFlags, units};
use webrender_traits::CrossProcessCompositorApi;
// This mutex is necessary due to syncronisation issues between two different types of thread-local storage