From f82bf81f8e7807085eb24001fd80b121b3542ce7 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Tue, 22 May 2018 00:11:11 +0300 Subject: [PATCH] style: Make mBindingParent strong. Bug: 1463116 Reviewed-by: bz --- components/style/gecko/wrapper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/gecko/wrapper.rs b/components/style/gecko/wrapper.rs index c00a41049c2b..7a565ec469ed 100644 --- a/components/style/gecko/wrapper.rs +++ b/components/style/gecko/wrapper.rs @@ -665,7 +665,7 @@ impl<'le> GeckoElement<'le> { fn non_xul_xbl_binding_parent_raw_content(&self) -> *mut nsIContent { debug_assert!(!self.is_xul_element()); self.extended_slots() - .map_or(ptr::null_mut(), |slots| slots._base.mBindingParent) + .map_or(ptr::null_mut(), |slots| slots._base.mBindingParent.raw::()) } #[inline]