mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Give a lifetime parameter to LayoutDom
This commit is contained in:
parent
60ca98b753
commit
dba6a635e5
26 changed files with 145 additions and 235 deletions
|
@ -2617,7 +2617,7 @@ pub trait LayoutDocumentHelpers {
|
|||
}
|
||||
|
||||
#[allow(unsafe_code)]
|
||||
impl LayoutDocumentHelpers for LayoutDom<Document> {
|
||||
impl LayoutDocumentHelpers for LayoutDom<'_, Document> {
|
||||
#[inline]
|
||||
unsafe fn is_html_document_for_layout(&self) -> bool {
|
||||
(*self.unsafe_get()).is_html_document
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue