aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/timeranges.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/timeranges.rs')
-rw-r--r--components/script/dom/timeranges.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/timeranges.rs b/components/script/dom/timeranges.rs
index 496f7ee8090..c5fe744489d 100644
--- a/components/script/dom/timeranges.rs
+++ b/components/script/dom/timeranges.rs
@@ -143,7 +143,7 @@ impl TimeRanges {
}
}
-impl TimeRangesMethods for TimeRanges {
+impl TimeRangesMethods<crate::DomTypeHolder> for TimeRanges {
// https://html.spec.whatwg.org/multipage/#dom-timeranges-length
fn Length(&self) -> u32 {
self.ranges.len()