diff options
Diffstat (limited to 'components/script/dom/cssstyledeclaration.rs')
-rw-r--r-- | components/script/dom/cssstyledeclaration.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/cssstyledeclaration.rs b/components/script/dom/cssstyledeclaration.rs index 0f4f5b880f0..1cfa678cb3f 100644 --- a/components/script/dom/cssstyledeclaration.rs +++ b/components/script/dom/cssstyledeclaration.rs @@ -39,7 +39,7 @@ pub struct CSSStyleDeclaration { } #[derive(JSTraceable, MallocSizeOf)] -#[unrooted_must_root_lint::must_root] +#[crown::unrooted_must_root_lint::must_root] pub enum CSSStyleOwner { Element(Dom<Element>), CSSRule( @@ -209,7 +209,7 @@ fn remove_property(decls: &mut PropertyDeclarationBlock, id: &PropertyId) -> boo } impl CSSStyleDeclaration { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new_inherited( owner: CSSStyleOwner, pseudo: Option<PseudoElement>, @@ -223,7 +223,7 @@ impl CSSStyleDeclaration { } } - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new( global: &Window, owner: CSSStyleOwner, |