From 28719f24558c1da86343a866883c08305c289412 Mon Sep 17 00:00:00 2001 From: Olli Pettay Date: Thu, 6 Dec 2018 15:58:40 +0200 Subject: [PATCH] Move FragmentOrElement::mAttrs to Element. Bug: 1512256 Reviewed-by: ehsan --- 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 9373f0bb2fa..ca991b412d6 100644 --- a/components/style/gecko/wrapper.rs +++ b/components/style/gecko/wrapper.rs @@ -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 &[], };