diff options
Diffstat (limited to 'components/script/dom/cssrulelist.rs')
-rw-r--r-- | components/script/dom/cssrulelist.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/cssrulelist.rs b/components/script/dom/cssrulelist.rs index e279ffc51b9..ac345f4f22a 100644 --- a/components/script/dom/cssrulelist.rs +++ b/components/script/dom/cssrulelist.rs @@ -52,7 +52,7 @@ pub enum RulesSource { } impl CSSRuleList { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new_inherited(parent_stylesheet: &CSSStyleSheet, rules: RulesSource) -> CSSRuleList { let guard = parent_stylesheet.shared_lock().read(); let dom_rules = match rules { @@ -78,7 +78,7 @@ impl CSSRuleList { } } - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new( window: &Window, parent_stylesheet: &CSSStyleSheet, |