diff options
Diffstat (limited to 'components/style/gecko/generated/structs_debug.rs')
-rw-r--r-- | components/style/gecko/generated/structs_debug.rs | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs index 44487348c3d..77a82e963d3 100644 --- a/components/style/gecko/generated/structs_debug.rs +++ b/components/style/gecko/generated/structs_debug.rs @@ -10,7 +10,6 @@ pub type ServoUnsafeCell<T> = ::std::cell::UnsafeCell<T>; pub type ServoCell<T> = ::std::cell::Cell<T>; pub type ServoNodeData = AtomicRefCell<ElementData>; pub type ServoWritingMode = ::logical_geometry::WritingMode; -pub type ServoFontComputationData = ::properties::FontComputationData; pub type ServoCustomPropertiesMap = Option<::servo_arc::Arc<::custom_properties::CustomPropertiesMap>>; pub type ServoRuleNode = Option<::rule_tree::StrongRuleNode>; pub type ServoVisitedStyle = Option<::servo_arc::RawOffsetArc<::properties::ComputedValues>>; @@ -4463,19 +4462,6 @@ pub mod root { FirstLetterContinuation = 1, PlaceholderFrame = 2, } - #[repr(u32)] - #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] - pub enum ServoKeywordSize { - Empty = 0, - XXSmall = 1, - XSmall = 2, - Small = 3, - Medium = 4, - Large = 5, - XLarge = 6, - XXLarge = 7, - XXXLarge = 8, - } #[repr(C)] #[derive(Debug)] pub struct ServoStyleContext { @@ -4487,7 +4473,7 @@ pub mod root { } #[test] fn bindgen_test_layout_ServoStyleContext() { - assert_eq!(::std::mem::size_of::<ServoStyleContext>() , 280usize , + assert_eq!(::std::mem::size_of::<ServoStyleContext>() , 264usize , concat ! ( "Size of: " , stringify ! ( ServoStyleContext ) )); assert_eq! (::std::mem::align_of::<ServoStyleContext>() , 8usize , @@ -4510,14 +4496,14 @@ pub mod root { assert_eq! (unsafe { & ( * ( 0 as * const ServoStyleContext ) ) . mNextInheritingAnonBoxStyle as * const _ as usize } , - 264usize , concat ! ( + 248usize , concat ! ( "Alignment of field: " , stringify ! ( ServoStyleContext ) , "::" , stringify ! ( mNextInheritingAnonBoxStyle ) )); assert_eq! (unsafe { & ( * ( 0 as * const ServoStyleContext ) ) . mNextLazyPseudoStyle as * const _ as usize } , - 272usize , concat ! ( + 256usize , concat ! ( "Alignment of field: " , stringify ! ( ServoStyleContext ) , "::" , stringify ! ( mNextLazyPseudoStyle ) )); @@ -14828,11 +14814,10 @@ pub mod root { /// /// relevant link for this element. A element's "relevant link" is the /// /// element being matched if it is a link or the nearest ancestor link. pub visited_style: ::gecko_bindings::structs::ServoVisitedStyle, - pub font_computation_data: ::gecko_bindings::structs::ServoFontComputationData, } #[test] fn bindgen_test_layout_ServoComputedData() { - assert_eq!(::std::mem::size_of::<ServoComputedData>() , 232usize , + assert_eq!(::std::mem::size_of::<ServoComputedData>() , 216usize , concat ! ( "Size of: " , stringify ! ( ServoComputedData ) )); assert_eq! (::std::mem::align_of::<ServoComputedData>() , 8usize , @@ -14979,12 +14964,6 @@ pub mod root { as * const _ as usize } , 208usize , concat ! ( "Alignment of field: " , stringify ! ( ServoComputedData ) , "::" , stringify ! ( visited_style ) )); - assert_eq! (unsafe { - & ( * ( 0 as * const ServoComputedData ) ) . - font_computation_data as * const _ as usize } , 216usize , - concat ! ( - "Alignment of field: " , stringify ! ( ServoComputedData ) - , "::" , stringify ! ( font_computation_data ) )); } #[repr(u32)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] |