mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Make mBindingParent strong.
Bug: 1463116 Reviewed-by: bz
This commit is contained in:
parent
32c6d5b7c6
commit
f82bf81f8e
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue