mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Move FragmentOrElement::mAttrs to Element.
Bug: 1512256 Reviewed-by: ehsan
This commit is contained in:
parent
27322abeda
commit
28719f2455
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ impl<'le> GeckoElement<'le> {
|
|||
#[inline(always)]
|
||||
fn attrs(&self) -> &[structs::AttrArray_InternalAttr] {
|
||||
unsafe {
|
||||
let attrs = match self.0._base.mAttrs.mImpl.mPtr.as_ref() {
|
||||
let attrs = match self.0.mAttrs.mImpl.mPtr.as_ref() {
|
||||
Some(attrs) => attrs,
|
||||
None => return &[],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue