aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/stylesheetlist.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/stylesheetlist.rs')
-rw-r--r--components/script/dom/stylesheetlist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/stylesheetlist.rs b/components/script/dom/stylesheetlist.rs
index f430b905584..87d5838bfee 100644
--- a/components/script/dom/stylesheetlist.rs
+++ b/components/script/dom/stylesheetlist.rs
@@ -87,7 +87,7 @@ impl StyleSheetList {
}
}
-impl StyleSheetListMethods for StyleSheetList {
+impl StyleSheetListMethods<crate::DomTypeHolder> for StyleSheetList {
// https://drafts.csswg.org/cssom/#dom-stylesheetlist-length
fn Length(&self) -> u32 {
self.document_or_shadow_root.stylesheet_count() as u32