Skip to content

Commit

Permalink
style: Make mBindingParent strong.
Browse files Browse the repository at this point in the history
Bug: 1463116
Reviewed-by: bz
  • Loading branch information
Olli Pettay authored and emilio committed May 28, 2018
1 parent 32c6d5b commit f82bf81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/gecko/wrapper.rs
Expand Up @@ -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::<nsIContent>())
}

#[inline]
Expand Down

0 comments on commit f82bf81

Please sign in to comment.