aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_traits')
-rw-r--r--components/script_traits/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 87f336265a8..ae5e9b22bb6 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -22,6 +22,8 @@ extern crate util;
extern crate url;
use devtools_traits::ScriptToDevtoolsControlMsg;
+use euclid::point::Point2D;
+use euclid::rect::Rect;
use ipc_channel::ipc::{IpcReceiver, IpcSender};
use libc::c_void;
use msg::compositor_msg::{Epoch, LayerId, ScriptToCompositorMsg};
@@ -38,9 +40,6 @@ use std::sync::mpsc::{Receiver, Sender};
use url::Url;
use util::geometry::Au;
-use euclid::point::Point2D;
-use euclid::rect::Rect;
-
/// The address of a node. Layout sends these back. They must be validated via
/// `from_untrusted_node_address` before they can be used, because we do not trust layout.
#[allow(raw_pointer_derive)]