diff options
author | Connor Imes <connor.k.imes@gmail.com> | 2015-09-04 16:06:38 -0500 |
---|---|---|
committer | Connor Imes <connor.k.imes@gmail.com> | 2015-09-04 16:09:44 -0500 |
commit | d746835344d1c00b4e0e4b84da95f3fb8bd83693 (patch) | |
tree | c3d439ea5f2679f3d1ae30d2ce908d23050e279f /components/script_traits/lib.rs | |
parent | 3f9b6f8586b60929ccbfe1cf51b84887ef711b77 (diff) | |
download | servo-d746835344d1c00b4e0e4b84da95f3fb8bd83693.tar.gz servo-d746835344d1c00b4e0e4b84da95f3fb8bd83693.zip |
Combine script profiling with profile crates. Fixes #7514.
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 085c9a3f8fc..a25bfc4fb08 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -32,7 +32,7 @@ use msg::webdriver_msg::WebDriverScriptCommand; use net_traits::ResourceTask; use net_traits::image_cache_task::ImageCacheTask; use net_traits::storage_task::StorageTask; -use profile_traits::mem; +use profile_traits::{mem, time}; use std::any::Any; use std::sync::mpsc::{Receiver, Sender}; use url::Url; @@ -187,6 +187,7 @@ pub trait ScriptTaskFactory { resource_task: ResourceTask, storage_task: StorageTask, image_cache_task: ImageCacheTask, + time_profiler_chan: time::ProfilerChan, mem_profiler_chan: mem::ProfilerChan, devtools_chan: Option<IpcSender<ScriptToDevtoolsControlMsg>>, window_size: Option<WindowSizeData>, |