diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-03-16 21:33:50 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-03-16 21:33:50 -0600 |
commit | f093620922621e1877393b03968ed0ce767fdf12 (patch) | |
tree | 0588ee917cca56ea4a4a8ea93b93afbdd4814168 /components/layout_traits/lib.rs | |
parent | 990a965ddfba254bb1b58664b27f2056fa9654f5 (diff) | |
parent | fa9ca206efefea850ef1d8c8b43513653ff07507 (diff) | |
download | servo-f093620922621e1877393b03968ed0ce767fdf12.tar.gz servo-f093620922621e1877393b03968ed0ce767fdf12.zip |
auto merge of #5193 : nnethercote/servo/measure-display-list, r=jdm
These changeset implements the beginnings of fine-grained measurement of Servo's data structures.
@pcwalton, @jdm: are you likely reviewers for this?
Diffstat (limited to 'components/layout_traits/lib.rs')
-rw-r--r-- | components/layout_traits/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs index 788032169be..d72063383f0 100644 --- a/components/layout_traits/lib.rs +++ b/components/layout_traits/lib.rs @@ -8,6 +8,7 @@ extern crate gfx; extern crate script_traits; extern crate msg; extern crate net; +extern crate url; extern crate util; // This module contains traits in layout used generically @@ -20,6 +21,8 @@ use gfx::paint_task::PaintChan; use msg::constellation_msg::{ConstellationChan, Failure, PipelineId, PipelineExitType}; use net::image_cache_task::ImageCacheTask; use net::resource_task::ResourceTask; +use url::Url; +use util::memory::MemoryProfilerChan; use util::time::TimeProfilerChan; use script_traits::{ScriptControlChan, OpaqueScriptLayoutChannel}; use std::sync::mpsc::{Sender, Receiver}; @@ -38,6 +41,7 @@ pub trait LayoutTaskFactory { // FIXME: use a proper static method fn create(_phantom: Option<&mut Self>, id: PipelineId, + url: Url, chan: OpaqueScriptLayoutChannel, pipeline_port: Receiver<LayoutControlMsg>, constellation_chan: ConstellationChan, @@ -48,5 +52,6 @@ pub trait LayoutTaskFactory { img_cache_task: ImageCacheTask, font_cache_task: FontCacheTask, time_profiler_chan: TimeProfilerChan, + memory_profiler_chan: MemoryProfilerChan, shutdown_chan: Sender<()>); } |