diff options
Diffstat (limited to 'components/script/dom/htmlstyleelement.rs')
-rw-r--r-- | components/script/dom/htmlstyleelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlstyleelement.rs b/components/script/dom/htmlstyleelement.rs index ebe0760560b..6d8a4f8769d 100644 --- a/components/script/dom/htmlstyleelement.rs +++ b/components/script/dom/htmlstyleelement.rs @@ -66,7 +66,7 @@ impl HTMLStyleElement { } } - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new( local_name: LocalName, prefix: Option<Prefix>, @@ -145,7 +145,7 @@ impl HTMLStyleElement { } // FIXME(emilio): This is duplicated with HTMLLinkElement::set_stylesheet. - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn set_stylesheet(&self, s: Arc<Stylesheet>) { let stylesheets_owner = stylesheets_owner_from_node(self); if let Some(ref s) = *self.stylesheet.borrow() { |