diff options
Diffstat (limited to 'components/script/dom/medialist.rs')
-rw-r--r-- | components/script/dom/medialist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/medialist.rs b/components/script/dom/medialist.rs index f099c327f65..4874e044bca 100644 --- a/components/script/dom/medialist.rs +++ b/components/script/dom/medialist.rs @@ -29,7 +29,7 @@ pub struct MediaList { } impl MediaList { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new_inherited( parent_stylesheet: &CSSStyleSheet, media_queries: Arc<Locked<StyleMediaList>>, @@ -41,7 +41,7 @@ impl MediaList { } } - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new( window: &Window, parent_stylesheet: &CSSStyleSheet, |