diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index f1014308e22..769559b7c3d 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -425,7 +425,7 @@ impl ${style_struct.gecko_struct_name} { pub fn initial() -> Arc { let mut result = Arc::new(${style_struct.gecko_struct_name} { gecko: unsafe { zeroed() } }); unsafe { - Gecko_Construct_${style_struct.gecko_ffi_name}(&mut Arc::make_mut(&mut result).gecko); + Gecko_Construct_${style_struct.gecko_ffi_name}(&mut Arc::get_mut(&mut result).unwrap().gecko); } result }