From ebfb18c1b5af9a57d55470674a621726eb6ab0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez=20Moreno?= Date: Wed, 31 May 2017 11:07:06 +0200 Subject: [PATCH] Update gecko bindings --- components/style/gecko/generated/structs_debug.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/components/style/gecko/generated/structs_debug.rs b/components/style/gecko/generated/structs_debug.rs index 64501652f31..8c743d31ac9 100644 --- a/components/style/gecko/generated/structs_debug.rs +++ b/components/style/gecko/generated/structs_debug.rs @@ -9306,10 +9306,11 @@ pub mod root { pub mProperty: root::nsCSSPropertyID, pub mValue: root::nsCSSValue, pub mServoDeclarationBlock: root::RefPtr, + pub mSimulateComputeValuesFailure: bool, } #[test] fn bindgen_test_layout_PropertyValuePair() { - assert_eq!(::std::mem::size_of::() , 32usize , + assert_eq!(::std::mem::size_of::() , 40usize , concat ! ( "Size of: " , stringify ! ( PropertyValuePair ) )); assert_eq! (::std::mem::align_of::() , 8usize , @@ -9335,6 +9336,13 @@ pub mod root { "Alignment of field: " , stringify ! ( PropertyValuePair ) , "::" , stringify ! ( mServoDeclarationBlock ) )); + assert_eq! (unsafe { + & ( * ( 0 as * const PropertyValuePair ) ) . + mSimulateComputeValuesFailure as * const _ as usize } + , 32usize , concat ! ( + "Alignment of field: " , stringify ! ( + PropertyValuePair ) , "::" , stringify ! ( + mSimulateComputeValuesFailure ) )); } #[repr(C)] #[derive(Debug, Copy, Clone)]