aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/serviceworkerjob.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/serviceworkerjob.rs')
-rw-r--r--components/script/serviceworkerjob.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/serviceworkerjob.rs b/components/script/serviceworkerjob.rs
index 8ba955928a3..93340cabe27 100644
--- a/components/script/serviceworkerjob.rs
+++ b/components/script/serviceworkerjob.rs
@@ -38,7 +38,7 @@ pub enum SettleType {
Reject(Error),
}
-#[must_root]
+#[unrooted_must_root_lint::must_root]
#[derive(JSTraceable)]
pub struct Job {
pub job_type: JobType,
@@ -97,7 +97,7 @@ impl PartialEq for Job {
}
}
-#[must_root]
+#[unrooted_must_root_lint::must_root]
#[derive(JSTraceable)]
pub struct JobQueue(pub DomRefCell<HashMap<ServoUrl, Vec<Job>>>);