diff --git a/components/style/gecko/generated/bindings.rs b/components/style/gecko/generated/bindings.rs index cad7e4054e1..ebd39c6bb65 100644 --- a/components/style/gecko/generated/bindings.rs +++ b/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/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index fe46a215188..ec88e40fe83 100644 --- a/ports/geckolib/glue.rs +++ b/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]