diff options
Diffstat (limited to 'components/script/dom/htmlareaelement.rs')
-rw-r--r-- | components/script/dom/htmlareaelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlareaelement.rs b/components/script/dom/htmlareaelement.rs index b8b668f94e0..145916281f6 100644 --- a/components/script/dom/htmlareaelement.rs +++ b/components/script/dom/htmlareaelement.rs @@ -258,7 +258,7 @@ impl HTMLAreaElement { } } - #[allow(crown::unrooted_must_root)] + #[cfg_attr(crown, allow(crown::unrooted_must_root))] pub(crate) fn new( local_name: LocalName, prefix: Option<Prefix>, |