diff options
Diffstat (limited to 'components/layout/css')
-rw-r--r-- | components/layout/css/matching.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/css/matching.rs b/components/layout/css/matching.rs index 656d08bcbc2..e4d6b767c34 100644 --- a/components/layout/css/matching.rs +++ b/components/layout/css/matching.rs @@ -460,7 +460,7 @@ impl<'ln> PrivateMatchMethods for LayoutNode<'ln> { }; let parent_layout_data: &Option<LayoutDataWrapper> = unsafe { - mem::transmute(parent_node.borrow_layout_data_unchecked()) + &*parent_node.borrow_layout_data_unchecked() }; match parent_layout_data { &Some(ref parent_layout_data_ref) => { |