diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2015-08-18 19:37:15 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2015-08-21 21:16:25 +0200 |
commit | 21d69314d4752751f55a250b68a9b7f87368cb92 (patch) | |
tree | acd6f426a38655d622896fadf3b7d4039f79d2da /components/layout/parallel.rs | |
parent | 649250130b221685dfa8e570ae07d0d2f634bd40 (diff) | |
download | servo-21d69314d4752751f55a250b68a9b7f87368cb92.tar.gz servo-21d69314d4752751f55a250b68a9b7f87368cb92.zip |
Don’t mark flow_ref::deref_mut as unsafe.
See discussion in https://github.com/servo/servo/pull/7237
Diffstat (limited to 'components/layout/parallel.rs')
-rw-r--r-- | components/layout/parallel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index 6420478cf11..78e7e876db4 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -470,7 +470,7 @@ pub fn traverse_flow_tree_preorder( if opts::get().bubble_inline_sizes_separately { let layout_context = LayoutContext::new(shared_layout_context); let bubble_inline_sizes = BubbleISizes { layout_context: &layout_context }; - unsafe { flow_ref::deref_mut(root) }.traverse_postorder(&bubble_inline_sizes); + flow_ref::deref_mut(root).traverse_postorder(&bubble_inline_sizes); } run_queue_with_custom_work_data_type(queue, |queue| { |