aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmltablesectionelement.rs
diff options
context:
space:
mode:
authorAnthony Ramine <nox@nox.paris>2020-03-27 17:37:56 +0100
committerAnthony Ramine <nox@nox.paris>2020-03-28 15:37:57 +0100
commitdba6a635e5df980b2837495aae59711739c23716 (patch)
tree9e91fe80e491a0a0cc29800b4dd71d23cc1abcb9 /components/script/dom/htmltablesectionelement.rs
parent60ca98b753570ce4ce56bc92ddbdd3c0c0e5800d (diff)
downloadservo-dba6a635e5df980b2837495aae59711739c23716.tar.gz
servo-dba6a635e5df980b2837495aae59711739c23716.zip
Give a lifetime parameter to LayoutDom
Diffstat (limited to 'components/script/dom/htmltablesectionelement.rs')
-rw-r--r--components/script/dom/htmltablesectionelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmltablesectionelement.rs b/components/script/dom/htmltablesectionelement.rs
index 1410e0ee1a4..c680da2ad23 100644
--- a/components/script/dom/htmltablesectionelement.rs
+++ b/components/script/dom/htmltablesectionelement.rs
@@ -88,7 +88,7 @@ pub trait HTMLTableSectionElementLayoutHelpers {
}
#[allow(unsafe_code)]
-impl HTMLTableSectionElementLayoutHelpers for LayoutDom<HTMLTableSectionElement> {
+impl HTMLTableSectionElementLayoutHelpers for LayoutDom<'_, HTMLTableSectionElement> {
fn get_background_color(&self) -> Option<RGBA> {
unsafe {
(&*self.upcast::<Element>().unsafe_get())