diff options
Diffstat (limited to 'components/script/animations.rs')
-rw-r--r-- | components/script/animations.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/animations.rs b/components/script/animations.rs index 09a0eb4b8eb..ec430eb374a 100644 --- a/components/script/animations.rs +++ b/components/script/animations.rs @@ -37,7 +37,7 @@ use crate::script_runtime::CanGc; /// The set of animations for a document. #[derive(Default, JSTraceable, MallocSizeOf)] -#[crown::unrooted_must_root_lint::must_root] +#[cfg_attr(crown, crown::unrooted_must_root_lint::must_root)] pub(crate) struct Animations { /// The map of nodes to their animation states. #[no_trace] |