From 52447ccd9b1889b21d5a5c8057a72e98a5ee96ea Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Mon, 23 Mar 2015 16:48:54 -0700 Subject: Move profiler code from `util` into a new crate `profile`. - Most of util::memory has been moved into profile::mem, though the `SizeOf` trait and related things remain in util::memory. The `SystemMemoryReporter` code is now in a submodule profile::mem::system_reporter. - util::time has been moved entirely into profile::time. --- components/script/layout_interface.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/script/layout_interface.rs') diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index 52b5aed1b43..b24adf944f6 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -10,16 +10,16 @@ use dom::node::LayoutData; use geom::point::Point2D; use geom::rect::Rect; -use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel, UntrustedNodeAddress}; use msg::constellation_msg::{PipelineExitType, WindowSizeData}; -use util::geometry::Au; -use util::memory::{MemoryReporter, MemoryReportsChan}; +use profile::mem::{MemoryReporter, MemoryReportsChan}; +use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel, UntrustedNodeAddress}; use std::any::Any; use std::sync::mpsc::{channel, Receiver, Sender}; use std::boxed::BoxAny; use style::stylesheets::Stylesheet; use style::media_queries::MediaQueryList; use url::Url; +use util::geometry::Au; pub use dom::node::TrustedNodeAddress; -- cgit v1.2.3