aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/screen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/screen.rs')
-rw-r--r--components/script/dom/screen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/screen.rs b/components/script/dom/screen.rs
index f45f6355269..2b29744f6a6 100644
--- a/components/script/dom/screen.rs
+++ b/components/script/dom/screen.rs
@@ -60,7 +60,7 @@ impl Screen {
}
}
-impl ScreenMethods for Screen {
+impl ScreenMethods<crate::DomTypeHolder> for Screen {
// https://drafts.csswg.org/cssom-view/#dom-screen-availwidth
fn AvailWidth(&self) -> Finite<f64> {
Finite::wrap(self.screen_avail_size().width as f64)