diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-07-23 19:29:58 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-07-23 19:29:58 +0200 |
commit | 17a9f8507e90f560571c13fb33204d1602b86ee4 (patch) | |
tree | 41843b6ef2a5bf82cab0c2edd27ad48b36f455f2 | |
parent | c24d37dfccc0a57fa37efc56d08de2679db963e1 (diff) | |
download | servo-17a9f8507e90f560571c13fb33204d1602b86ee4.tar.gz servo-17a9f8507e90f560571c13fb33204d1602b86ee4.zip |
Remove the unused proxy argument to ParallelPostorderFlowTraversal::run_parallel.
-rw-r--r-- | components/layout/parallel.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index 3a122a8f88d..836f8cff1bf 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -238,9 +238,7 @@ trait ParallelPostorderFlowTraversal : PostorderFlowTraversal { /// /// The only communication between siblings is that they both /// fetch-and-subtract the parent's children count. - fn run_parallel(&self, - mut unsafe_flow: UnsafeFlow, - _: &mut WorkerProxy<SharedLayoutContext,UnsafeFlowList>) { + fn run_parallel(&self, mut unsafe_flow: UnsafeFlow) { loop { // Get a real flow. let flow: &mut FlowRef = unsafe { @@ -420,7 +418,7 @@ fn assign_block_sizes_and_store_overflow( let assign_block_sizes_traversal = AssignBSizesAndStoreOverflow { layout_context: &layout_context, }; - assign_block_sizes_traversal.run_parallel(unsafe_flow, proxy) + assign_block_sizes_traversal.run_parallel(unsafe_flow) } fn compute_absolute_positions( @@ -443,7 +441,7 @@ fn build_display_list(unsafe_flow: UnsafeFlow, layout_context: &layout_context, }; - build_display_list_traversal.run_parallel(unsafe_flow, proxy); + build_display_list_traversal.run_parallel(unsafe_flow); } fn run_queue_with_custom_work_data_type<To,F>( |