diff options
Diffstat (limited to 'components/script/dom/shadowroot.rs')
-rw-r--r-- | components/script/dom/shadowroot.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/shadowroot.rs b/components/script/dom/shadowroot.rs index 7e375c4fbba..f1c0567a399 100644 --- a/components/script/dom/shadowroot.rs +++ b/components/script/dom/shadowroot.rs @@ -271,6 +271,8 @@ impl<'dom> LayoutShadowRootHelpers<'dom> for LayoutDom<'dom, ShadowRoot> { unsafe { &self.unsafe_get().author_styles.borrow_for_layout().data } } + // FIXME(nox): This uses the dreaded borrow_mut_for_layout so this should + // probably be revisited. #[inline] #[allow(unsafe_code)] unsafe fn flush_stylesheets<E: TElement>( |