mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
layout: Stop doing unsafe transmutes between refcell references.
This commit splits the style and layout data in two separate refcells. These transmutes have been a source of trouble (for example on Android), and they feel like a hack anyway. Fixes #16982
This commit is contained in:
parent
bb310efbb9
commit
deaa935f5b
9 changed files with 79 additions and 94 deletions
|
@ -7,5 +7,4 @@ extern crate layout;
|
|||
extern crate script_layout_interface;
|
||||
#[macro_use] extern crate size_of_test;
|
||||
|
||||
#[cfg(test)] mod align_of;
|
||||
#[cfg(all(test, target_pointer_width = "64"))] mod size_of;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue