diff --git a/servo/components/style/gecko/generated/bindings.rs b/servo/components/style/gecko/generated/bindings.rs index cad7e4054e1a..ebd39c6bb650 100644 --- a/servo/components/style/gecko/generated/bindings.rs +++ b/servo/components/style/gecko/generated/bindings.rs @@ -2840,7 +2840,7 @@ extern "C" { pub fn Servo_DeclarationBlock_RemoveProperty( declarations: RawServoDeclarationBlockBorrowed, property: *const nsACString, - ); + ) -> bool; } extern "C" { pub fn Servo_DeclarationBlock_RemovePropertyById( diff --git a/servo/ports/geckolib/glue.rs b/servo/ports/geckolib/glue.rs index fe46a2151887..ec88e40fe83a 100644 --- a/servo/ports/geckolib/glue.rs +++ b/servo/ports/geckolib/glue.rs @@ -2874,8 +2874,8 @@ fn remove_property( pub unsafe extern "C" fn Servo_DeclarationBlock_RemoveProperty( declarations: RawServoDeclarationBlockBorrowed, property: *const nsACString, -) { - remove_property(declarations, get_property_id_from_property!(property, ())); +) -> bool { + remove_property(declarations, get_property_id_from_property!(property, false)) } #[no_mangle]