Regenerate bindings.
draft
--- a/servo/components/style/gecko_bindings/structs_debug.rs
+++ b/servo/components/style/gecko_bindings/structs_debug.rs
@@ -11007,39 +11007,38 @@ pub enum nsStyleContentType {
eStyleContentType_AltContent = 50,
eStyleContentType_Uninitialized = 51,
}
#[repr(C)]
#[derive(Debug)]
pub struct nsStyleContentData {
pub mType: nsStyleContentType,
pub mContent: nsStyleContentData__bindgen_ty_1,
- pub mImageTracked: bool,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStyleContentData__bindgen_ty_1 {
pub mString: __BindgenUnionField<*mut u16>,
- pub mImage: __BindgenUnionField<*mut imgRequestProxy>,
+ pub mImage: __BindgenUnionField<*mut nsStyleImageRequest>,
pub mCounters: __BindgenUnionField<*mut nsCSSValue_Array>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_nsStyleContentData__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<nsStyleContentData__bindgen_ty_1>() ,
8usize);
assert_eq!(::std::mem::align_of::<nsStyleContentData__bindgen_ty_1>() ,
8usize);
}
impl Clone for nsStyleContentData__bindgen_ty_1 {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout_nsStyleContentData() {
- assert_eq!(::std::mem::size_of::<nsStyleContentData>() , 24usize);
+ assert_eq!(::std::mem::size_of::<nsStyleContentData>() , 16usize);
assert_eq!(::std::mem::align_of::<nsStyleContentData>() , 8usize);
}
#[repr(C)]
#[derive(Debug)]
pub struct nsStyleCounterData {
pub mCounter: nsString,
pub mValue: i32,
}
--- a/servo/components/style/gecko_bindings/structs_release.rs
+++ b/servo/components/style/gecko_bindings/structs_release.rs
@@ -10969,17 +10969,17 @@ pub enum nsStyleContentType {
pub struct nsStyleContentData {
pub mType: nsStyleContentType,
pub mContent: nsStyleContentData__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct nsStyleContentData__bindgen_ty_1 {
pub mString: __BindgenUnionField<*mut u16>,
- pub mImage: __BindgenUnionField<*mut imgRequestProxy>,
+ pub mImage: __BindgenUnionField<*mut nsStyleImageRequest>,
pub mCounters: __BindgenUnionField<*mut nsCSSValue_Array>,
pub bindgen_union_field: u64,
}
#[test]
fn bindgen_test_layout_nsStyleContentData__bindgen_ty_1() {
assert_eq!(::std::mem::size_of::<nsStyleContentData__bindgen_ty_1>() ,
8usize);
assert_eq!(::std::mem::align_of::<nsStyleContentData__bindgen_ty_1>() ,