aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2015-03-23 16:48:54 -0700
committerNicholas Nethercote <nnethercote@mozilla.com>2015-03-24 02:09:31 -0700
commit52447ccd9b1889b21d5a5c8057a72e98a5ee96ea (patch)
tree31d7332914a1c5a08e1a70b4905aae3251923a12 /components/script/layout_interface.rs
parentcad58b3bec03586fd7d81e6fa45831803efd2350 (diff)
downloadservo-52447ccd9b1889b21d5a5c8057a72e98a5ee96ea.tar.gz
servo-52447ccd9b1889b21d5a5c8057a72e98a5ee96ea.zip
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.
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs6
1 files changed, 3 insertions, 3 deletions
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;