diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 15:13:16 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 15:14:23 +0200 |
commit | 206d603f53f0f7fb8709f1bd734f722020d8d5f2 (patch) | |
tree | 14fbc1c803c29d8f778ce104aecd0b7d7a39475f /components/layout/sequential.rs | |
parent | 2e6711aa5fbf7ddcfad783c268010c293925e675 (diff) | |
download | servo-206d603f53f0f7fb8709f1bd734f722020d8d5f2.tar.gz servo-206d603f53f0f7fb8709f1bd734f722020d8d5f2.zip |
Correct the signature of flow_ref::deref_mut.
This also fixes Undefined Behavior in build_display_list_for_subtree.
Diffstat (limited to 'components/layout/sequential.rs')
-rw-r--r-- | components/layout/sequential.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/sequential.rs b/components/layout/sequential.rs index d652d19b773..6663843f572 100644 --- a/components/layout/sequential.rs +++ b/components/layout/sequential.rs @@ -87,7 +87,7 @@ pub fn build_display_list_for_subtree(root: &mut FlowRef, &mut root_stacking_context.children); let mut build_display_list = BuildDisplayList { state: DisplayListBuildState::new(&layout_context, - flow::base(&**root).stacking_context_id), + flow::base(&*flow_root).stacking_context_id), }; build_display_list.traverse(&mut *flow_root); build_display_list.state.items |