diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-22 14:57:55 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-22 15:02:06 +0200 |
commit | 577c2d2078ac0e3f8bf179bf8d131d7f3bc20b85 (patch) | |
tree | 6158b87e6f4f13d53eee4f76ec505360957c92ee /components/layout/parallel.rs | |
parent | ea45e76840286b00229d52be833e373e67f36dfa (diff) | |
download | servo-577c2d2078ac0e3f8bf179bf8d131d7f3bc20b85.tar.gz servo-577c2d2078ac0e3f8bf179bf8d131d7f3bc20b85.zip |
Store SharedStyleContext in AssignISizes.
Diffstat (limited to 'components/layout/parallel.rs')
-rw-r--r-- | components/layout/parallel.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index b0afae2eeed..ba23c0d7061 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -203,9 +203,8 @@ impl<'a> ParallelPostorderFlowTraversal for AssignBSizes<'a> {} fn assign_inline_sizes(unsafe_flows: UnsafeFlowList, proxy: &mut WorkerProxy<SharedLayoutContext, UnsafeFlowList>) { let shared_layout_context = proxy.user_data(); - let layout_context = LayoutContext::new(shared_layout_context); let assign_inline_sizes_traversal = AssignISizes { - layout_context: &layout_context, + shared_context: &shared_layout_context.style_context, }; assign_inline_sizes_traversal.run_parallel(unsafe_flows, proxy) } |