diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-06-28 22:17:55 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-06-29 15:09:29 +0200 |
commit | 41da4fceee653366bb709539c1ce3a873a08b695 (patch) | |
tree | 3239b7c4dcff5e2af1eb3cbe20828e5d0ebd98d5 /components/layout/layout_task.rs | |
parent | c214c03375e2d90898c502ceef1d50f83b99ccd4 (diff) | |
download | servo-41da4fceee653366bb709539c1ce3a873a08b695.tar.gz servo-41da4fceee653366bb709539c1ce3a873a08b695.zip |
Remove the data field from WorkQueue.
It is only used in the run method.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index e3349ef19de..172fcf2ed3f 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -300,8 +300,7 @@ impl LayoutTask { opts::get().initial_window_size.as_f32() * ScaleFactor::new(1.0)); let parallel_traversal = if opts::get().layout_threads != 1 { Some(WorkQueue::new("LayoutWorker", task_state::LAYOUT, - opts::get().layout_threads, - SharedLayoutContextWrapper(ptr::null()))) + opts::get().layout_threads)) } else { None }; |