diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2014-10-20 10:43:49 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2014-10-20 10:48:47 +1000 |
commit | 076495db94b25cfc6a835c29dfadf840a54402a3 (patch) | |
tree | 76280d20fa69a4ae5f6c4dec42cd9863aaa1f1e0 /components/compositing/pipeline.rs | |
parent | a983debaf16d788d500ce12262dc0b9b511b1e8e (diff) | |
download | servo-076495db94b25cfc6a835c29dfadf840a54402a3.tar.gz servo-076495db94b25cfc6a835c29dfadf840a54402a3.zip |
Use opts as a global, to avoid cloning and passing the struct all over the code.
Diffstat (limited to 'components/compositing/pipeline.rs')
-rw-r--r-- | components/compositing/pipeline.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/compositing/pipeline.rs b/components/compositing/pipeline.rs index 9f888a3e19f..149fd0bffed 100644 --- a/components/compositing/pipeline.rs +++ b/components/compositing/pipeline.rs @@ -15,7 +15,6 @@ use servo_msg::constellation_msg::{LoadData, WindowSizeData}; use servo_net::image_cache_task::ImageCacheTask; use gfx::font_cache_task::FontCacheTask; use servo_net::resource_task::ResourceTask; -use servo_util::opts::Opts; use servo_util::time::TimeProfilerChan; use std::rc::Rc; @@ -55,7 +54,6 @@ impl Pipeline { resource_task: ResourceTask, time_profiler_chan: TimeProfilerChan, window_size: WindowSizeData, - opts: Opts, script_pipeline: Option<Rc<Pipeline>>, load_data: LoadData) -> Pipeline { @@ -107,7 +105,6 @@ impl Pipeline { constellation_chan.clone(), font_cache_task.clone(), failure.clone(), - opts.clone(), time_profiler_chan.clone(), render_shutdown_chan); @@ -122,7 +119,6 @@ impl Pipeline { resource_task, image_cache_task, font_cache_task, - opts.clone(), time_profiler_chan, layout_shutdown_chan); |