diff --git a/components/style/gecko_bindings/sugar/ownership.rs b/components/style/gecko_bindings/sugar/ownership.rs index b0ac00368ea..8695efaaa40 100644 --- a/components/style/gecko_bindings/sugar/ownership.rs +++ b/components/style/gecko_bindings/sugar/ownership.rs @@ -109,7 +109,6 @@ pub unsafe trait HasArcFFI : HasFFI { /// /// &GeckoType -> &Arc fn as_arc<'a>(ptr: &'a &Self::FFIType) -> &'a RawOffsetArc { - debug_assert!(!(ptr as *const _).is_null()); unsafe { transmute::<&&Self::FFIType, &RawOffsetArc>(ptr) }