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.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/stylesheetlist.rs b/components/script/dom/stylesheetlist.rs
index 4d561aa56fd..f430b905584 100644
--- a/components/script/dom/stylesheetlist.rs
+++ b/components/script/dom/stylesheetlist.rs
@@ -16,7 +16,7 @@ use crate::dom::shadowroot::ShadowRoot;
use crate::dom::stylesheet::StyleSheet;
use crate::dom::window::Window;
-#[unrooted_must_root_lint::must_root]
+#[crown::unrooted_must_root_lint::must_root]
#[derive(JSTraceable, MallocSizeOf)]
pub enum StyleSheetListOwner {
Document(Dom<Document>),
@@ -73,7 +73,7 @@ pub struct StyleSheetList {
}
impl StyleSheetList {
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn new_inherited(doc_or_sr: StyleSheetListOwner) -> StyleSheetList {
StyleSheetList {
reflector_: Reflector::new(),
@@ -81,7 +81,7 @@ impl StyleSheetList {
}
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
pub fn new(window: &Window, doc_or_sr: StyleSheetListOwner) -> DomRoot<StyleSheetList> {
reflect_dom_object(Box::new(StyleSheetList::new_inherited(doc_or_sr)), window)
}