diff options
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index e04ede22470..e6f23afae8f 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -861,8 +861,12 @@ impl InlineFragments { } } +#[allow(unsafe_code)] +unsafe impl ::flow::HasBaseFlow for InlineFlow {} + /// Flows for inline layout. #[derive(Serialize)] +#[repr(C)] pub struct InlineFlow { /// Data common to all flows. pub base: BaseFlow, |