aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/lib.rs
diff options
context:
space:
mode:
authorImanol Fernandez <mortimergoro@gmail.com>2017-05-12 12:17:58 +0200
committerImanol Fernandez <mortimergoro@gmail.com>2017-05-12 12:48:13 +0200
commit593e89086fd1bd7a1cb9c496ad5837a3c7ba594e (patch)
tree0b11e4dc542751a897297c1e3dfa28067c4a622d /components/layout/lib.rs
parent48fdda3f075572897e9f0d846dcf1897eae5b230 (diff)
downloadservo-593e89086fd1bd7a1cb9c496ad5837a3c7ba594e.tar.gz
servo-593e89086fd1bd7a1cb9c496ad5837a3c7ba594e.zip
Fix unsafe AtomicRefCell<PersistentLayoutData> transmute due to memory alignment differences
Diffstat (limited to 'components/layout/lib.rs')
-rw-r--r--components/layout/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/lib.rs b/components/layout/lib.rs
index abdf6ff04c0..1df46c557f4 100644
--- a/components/layout/lib.rs
+++ b/components/layout/lib.rs
@@ -93,6 +93,7 @@ pub mod wrapper;
// For unit tests:
pub use fragment::Fragment;
pub use fragment::SpecificFragmentInfo;
+pub use self::data::PersistentLayoutData;
/// Returns whether the two arguments point to the same value.
///