mirror of
https://github.com/servo/servo.git
synced 2025-07-31 03:00:29 +01:00
Remove some transmute calls.
This commit is contained in:
parent
9857ea26cb
commit
0031498e6b
2 changed files with 3 additions and 3 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue