mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove the data field from WorkQueue.
It is only used in the run method.
This commit is contained in:
parent
c214c03375
commit
41da4fceee
3 changed files with 5 additions and 15 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue