@@ -23700,6 +23700,8 @@ pub mod root {
23700
23700
pub mModeFlags: root::nsStyleImageRequest_Mode,
23701
23701
pub mResolved: bool,
23702
23702
}
23703
+ pub type nsStyleImageRequest_URLValueData =
23704
+ root::mozilla::css::URLValueData;
23703
23705
#[repr(u8)]
23704
23706
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
23705
23707
pub enum nsStyleImageRequest_Mode { Track = 1, Discard = 2, }
@@ -23758,6 +23760,7 @@ pub mod root {
23758
23760
eStyleImageType_Image = 1,
23759
23761
eStyleImageType_Gradient = 2,
23760
23762
eStyleImageType_Element = 3,
23763
+ eStyleImageType_URL = 4,
23761
23764
}
23762
23765
#[repr(C)]
23763
23766
#[derive(Debug)]
@@ -23808,11 +23811,14 @@ pub mod root {
23808
23811
pub mCropRect: root::mozilla::UniquePtr
23809
23812
root::mozilla::DefaultDelete>,
23810
23813
}
23814
+ pub type nsStyleImage_URLValue = root::mozilla::css::URLValue;
23815
+ pub type nsStyleImage_URLValueData = root::mozilla::css::URLValueData;
23811
23816
#[repr(C)]
23812
23817
#[derive(Debug, Copy)]
23813
23818
pub struct nsStyleImage__bindgen_ty_1 {
23814
23819
pub mImage: root::__BindgenUnionField<*mut root::nsStyleImageRequest>,
23815
23820
pub mGradient: root::__BindgenUnionField<*mut root::nsStyleGradient>,
23821
+ pub mURLValue: root::__BindgenUnionField<*mut root::nsStyleImage_URLValue>,
23816
23822
pub mElementId: root::__BindgenUnionField<*mut u16>,
23817
23823
pub bindgen_union_field: u64,
23818
23824
}
@@ -23838,6 +23844,12 @@ pub mod root {
23838
23844
"Alignment of field: " , stringify ! (
23839
23845
nsStyleImage__bindgen_ty_1 ) , "::" , stringify ! (
23840
23846
mGradient ) ));
23847
+ assert_eq! (unsafe {
23848
+ & ( * ( 0 as * const nsStyleImage__bindgen_ty_1 ) ) .
23849
+ mURLValue as * const _ as usize } , 0usize , concat ! (
23850
+ "Alignment of field: " , stringify ! (
23851
+ nsStyleImage__bindgen_ty_1 ) , "::" , stringify ! (
23852
+ mURLValue ) ));
23841
23853
assert_eq! (unsafe {
23842
23854
& ( * ( 0 as * const nsStyleImage__bindgen_ty_1 ) ) .
23843
23855
mElementId as * const _ as usize } , 0usize , concat ! (
@@ -24066,7 +24078,6 @@ pub mod root {
24066
24078
#[derive(Debug)]
24067
24079
pub struct nsStyleImageLayers_Layer {
24068
24080
pub mImage: root::nsStyleImage,
24069
- pub mSourceURI: root::RefPtr,
24070
24081
pub mPosition: root::mozilla::Position,
24071
24082
pub mSize: root::nsStyleImageLayers_Size,
24072
24083
pub mClip: root::nsStyleImageLayers_Layer_StyleGeometryBox,
@@ -24081,8 +24092,8 @@ pub mod root {
24081
24092
nsStyleImageLayers_Layer_StyleGeometryBox;
24082
24093
#[test]
24083
24094
fn bindgen_test_layout_nsStyleImageLayers_Layer() {
24084
- assert_eq!(::std::mem::size_of::() ,
24085
- 104usize , concat ! (
24095
+ assert_eq!(::std::mem::size_of::() , 96usize
24096
+ , concat ! (
24086
24097
"Size of: " , stringify ! ( nsStyleImageLayers_Layer ) ));
24087
24098
assert_eq! (::std::mem::align_of::() ,
24088
24099
8usize , concat ! (
@@ -24096,61 +24107,55 @@ pub mod root {
24096
24107
));
24097
24108
assert_eq! (unsafe {
24098
24109
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24099
- mSourceURI as * const _ as usize } , 32usize , concat ! (
24100
- "Alignment of field: " , stringify ! (
24101
- nsStyleImageLayers_Layer ) , "::" , stringify ! (
24102
- mSourceURI ) ));
24103
- assert_eq! (unsafe {
24104
- & ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24105
- mPosition as * const _ as usize } , 40usize , concat ! (
24110
+ mPosition as * const _ as usize } , 32usize , concat ! (
24106
24111
"Alignment of field: " , stringify ! (
24107
24112
nsStyleImageLayers_Layer ) , "::" , stringify ! (
24108
24113
mPosition ) ));
24109
24114
assert_eq! (unsafe {
24110
24115
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) . mSize
24111
- as * const _ as usize } , 64usize , concat ! (
24116
+ as * const _ as usize } , 56usize , concat ! (
24112
24117
"Alignment of field: " , stringify ! (
24113
24118
nsStyleImageLayers_Layer ) , "::" , stringify ! ( mSize )
24114
24119
));
24115
24120
assert_eq! (unsafe {
24116
24121
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) . mClip
24117
- as * const _ as usize } , 92usize , concat ! (
24122
+ as * const _ as usize } , 84usize , concat ! (
24118
24123
"Alignment of field: " , stringify ! (
24119
24124
nsStyleImageLayers_Layer ) , "::" , stringify ! ( mClip )
24120
24125
));
24121
24126
assert_eq! (unsafe {
24122
24127
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24123
- mOrigin as * const _ as usize } , 93usize , concat ! (
24128
+ mOrigin as * const _ as usize } , 85usize , concat ! (
24124
24129
"Alignment of field: " , stringify ! (
24125
24130
nsStyleImageLayers_Layer ) , "::" , stringify ! ( mOrigin
24126
24131
) ));
24127
24132
assert_eq! (unsafe {
24128
24133
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24129
- mAttachment as * const _ as usize } , 94usize , concat ! (
24134
+ mAttachment as * const _ as usize } , 86usize , concat ! (
24130
24135
"Alignment of field: " , stringify ! (
24131
24136
nsStyleImageLayers_Layer ) , "::" , stringify ! (
24132
24137
mAttachment ) ));
24133
24138
assert_eq! (unsafe {
24134
24139
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24135
- mBlendMode as * const _ as usize } , 95usize , concat ! (
24140
+ mBlendMode as * const _ as usize } , 87usize , concat ! (
24136
24141
"Alignment of field: " , stringify ! (
24137
24142
nsStyleImageLayers_Layer ) , "::" , stringify ! (
24138
24143
mBlendMode ) ));
24139
24144
assert_eq! (unsafe {
24140
24145
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24141
- mComposite as * const _ as usize } , 96usize , concat ! (
24146
+ mComposite as * const _ as usize } , 88usize , concat ! (
24142
24147
"Alignment of field: " , stringify ! (
24143
24148
nsStyleImageLayers_Layer ) , "::" , stringify ! (
24144
24149
mComposite ) ));
24145
24150
assert_eq! (unsafe {
24146
24151
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24147
- mMaskMode as * const _ as usize } , 97usize , concat ! (
24152
+ mMaskMode as * const _ as usize } , 89usize , concat ! (
24148
24153
"Alignment of field: " , stringify ! (
24149
24154
nsStyleImageLayers_Layer ) , "::" , stringify ! (
24150
24155
mMaskMode ) ));
24151
24156
assert_eq! (unsafe {
24152
24157
& ( * ( 0 as * const nsStyleImageLayers_Layer ) ) .
24153
- mRepeat as * const _ as usize } , 98usize , concat ! (
24158
+ mRepeat as * const _ as usize } , 90usize , concat ! (
24154
24159
"Alignment of field: " , stringify ! (
24155
24160
nsStyleImageLayers_Layer ) , "::" , stringify ! ( mRepeat
24156
24161
) ));
@@ -24167,7 +24172,7 @@ pub mod root {
24167
24172
}
24168
24173
#[test]
24169
24174
fn bindgen_test_layout_nsStyleImageLayers() {
24170
- assert_eq!(::std::mem::size_of::() , 160usize ,
24175
+ assert_eq!(::std::mem::size_of::() , 152usize ,
24171
24176
concat ! ( "Size of: " , stringify ! ( nsStyleImageLayers )
24172
24177
));
24173
24178
assert_eq! (::std::mem::align_of::() , 8usize ,
@@ -24248,7 +24253,7 @@ pub mod root {
24248
24253
}
24249
24254
#[test]
24250
24255
fn bindgen_test_layout_nsStyleBackground() {
24251
- assert_eq!(::std::mem::size_of::() , 168usize ,
24256
+ assert_eq!(::std::mem::size_of::() , 160usize ,
24252
24257
concat ! ( "Size of: " , stringify ! ( nsStyleBackground )
24253
24258
));
24254
24259
assert_eq! (::std::mem::align_of::() , 8usize ,
@@ -24261,7 +24266,7 @@ pub mod root {
24261
24266
, "::" , stringify ! ( mImage ) ));
24262
24267
assert_eq! (unsafe {
24263
24268
& ( * ( 0 as * const nsStyleBackground ) ) .
24264
- mBackgroundColor as * const _ as usize } , 160usize ,
24269
+ mBackgroundColor as * const _ as usize } , 152usize ,
24265
24270
concat ! (
24266
24271
"Alignment of field: " , stringify ! ( nsStyleBackground )
24267
24272
, "::" , stringify ! ( mBackgroundColor ) ));
@@ -26362,7 +26367,7 @@ pub mod root {
26362
26367
}
26363
26368
#[test]
26364
26369
fn bindgen_test_layout_nsStyleSVGReset() {
26365
- assert_eq!(::std::mem::size_of::() , 200usize ,
26370
+ assert_eq!(::std::mem::size_of::() , 192usize ,
26366
26371
concat ! ( "Size of: " , stringify ! ( nsStyleSVGReset )
26367
26372
));
26368
26373
assert_eq! (::std::mem::align_of::() , 8usize ,
@@ -26375,48 +26380,48 @@ pub mod root {
26375
26380
"::" , stringify ! ( mMask ) ));
26376
26381
assert_eq! (unsafe {
26377
26382
& ( * ( 0 as * const nsStyleSVGReset ) ) . mClipPath as *
26378
- const _ as usize } , 160usize , concat ! (
26383
+ const _ as usize } , 152usize , concat ! (
26379
26384
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26380
26385
"::" , stringify ! ( mClipPath ) ));
26381
26386
assert_eq! (unsafe {
26382
26387
& ( * ( 0 as * const nsStyleSVGReset ) ) . mStopColor as *
26383
- const _ as usize } , 176usize , concat ! (
26388
+ const _ as usize } , 168usize , concat ! (
26384
26389
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26385
26390
"::" , stringify ! ( mStopColor ) ));
26386
26391
assert_eq! (unsafe {
26387
26392
& ( * ( 0 as * const nsStyleSVGReset ) ) . mFloodColor as
26388
- * const _ as usize } , 180usize , concat ! (
26393
+ * const _ as usize } , 172usize , concat ! (
26389
26394
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26390
26395
"::" , stringify ! ( mFloodColor ) ));
26391
26396
assert_eq! (unsafe {
26392
26397
& ( * ( 0 as * const nsStyleSVGReset ) ) . mLightingColor
26393
- as * const _ as usize } , 184usize , concat ! (
26398
+ as * const _ as usize } , 176usize , concat ! (
26394
26399
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26395
26400
"::" , stringify ! ( mLightingColor ) ));
26396
26401
assert_eq! (unsafe {
26397
26402
& ( * ( 0 as * const nsStyleSVGReset ) ) . mStopOpacity as
26398
- * const _ as usize } , 188usize , concat ! (
26403
+ * const _ as usize } , 180usize , concat ! (
26399
26404
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26400
26405
"::" , stringify ! ( mStopOpacity ) ));
26401
26406
assert_eq! (unsafe {
26402
26407
& ( * ( 0 as * const nsStyleSVGReset ) ) . mFloodOpacity
26403
- as * const _ as usize } , 192usize , concat ! (
26408
+ as * const _ as usize } , 184usize , concat ! (
26404
26409
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26405
26410
"::" , stringify ! ( mFloodOpacity ) ));
26406
26411
assert_eq! (unsafe {
26407
26412
& ( * ( 0 as * const nsStyleSVGReset ) ) .
26408
- mDominantBaseline as * const _ as usize } , 196usize ,
26413
+ mDominantBaseline as * const _ as usize } , 188usize ,
26409
26414
concat ! (
26410
26415
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26411
26416
"::" , stringify ! ( mDominantBaseline ) ));
26412
26417
assert_eq! (unsafe {
26413
26418
& ( * ( 0 as * const nsStyleSVGReset ) ) . mVectorEffect
26414
- as * const _ as usize } , 197usize , concat ! (
26419
+ as * const _ as usize } , 189usize , concat ! (
26415
26420
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26416
26421
"::" , stringify ! ( mVectorEffect ) ));
26417
26422
assert_eq! (unsafe {
26418
26423
& ( * ( 0 as * const nsStyleSVGReset ) ) . mMaskType as *
26419
- const _ as usize } , 198usize , concat ! (
26424
+ const _ as usize } , 190usize , concat ! (
26420
26425
"Alignment of field: " , stringify ! ( nsStyleSVGReset ) ,
26421
26426
"::" , stringify ! ( mMaskType ) ));
26422
26427
}
0 commit comments