aboutsummaryrefslogtreecommitdiffstats
path: root/components/geometry/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/geometry/lib.rs')
-rw-r--r--components/geometry/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/geometry/lib.rs b/components/geometry/lib.rs
index 155551ee3d9..fd579b7f9bd 100644
--- a/components/geometry/lib.rs
+++ b/components/geometry/lib.rs
@@ -6,7 +6,10 @@
extern crate malloc_size_of_derive;
use app_units::{Au, MAX_AU, MIN_AU};
-use euclid::{Length, Point2D, Rect, Size2D};
+use euclid::{
+ default::{Point2D, Rect, Size2D},
+ Length,
+};
use std::f32;
use webrender_api::units::{FramebufferPixel, LayoutPoint, LayoutRect, LayoutSize};