diff options
Diffstat (limited to 'components/script/dom/shadowroot.rs')
-rw-r--r-- | components/script/dom/shadowroot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/shadowroot.rs b/components/script/dom/shadowroot.rs index f1c0567a399..c70c13d8cef 100644 --- a/components/script/dom/shadowroot.rs +++ b/components/script/dom/shadowroot.rs @@ -281,7 +281,7 @@ impl<'dom> LayoutShadowRootHelpers<'dom> for LayoutDom<'dom, ShadowRoot> { quirks_mode: QuirksMode, guard: &SharedRwLockReadGuard, ) { - let mut author_styles = (*self.unsafe_get()).author_styles.borrow_mut_for_layout(); + let author_styles = self.unsafe_get().author_styles.borrow_mut_for_layout(); if author_styles.stylesheets.dirty() { author_styles.flush::<E>(device, quirks_mode, guard); } |