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.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/geometry/lib.rs b/components/geometry/lib.rs
index 81e0eddc028..a594a8613cd 100644
--- a/components/geometry/lib.rs
+++ b/components/geometry/lib.rs
@@ -2,14 +2,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-#[macro_use]
-extern crate malloc_size_of_derive;
-
use app_units::{Au, MAX_AU, MIN_AU};
use euclid::{
default::{Point2D, Rect, Size2D},
Length,
};
+use malloc_size_of_derive::MallocSizeOf;
use std::f32;
use webrender_api::units::{FramebufferPixel, LayoutPoint, LayoutRect, LayoutSize};