mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add some comments and remove obsolete allow attributes
This commit is contained in:
parent
d9e4f7a0ba
commit
4e64a1c682
2 changed files with 9 additions and 3 deletions
|
@ -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>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue