aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/shadowroot.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-08-10 23:46:06 +0200
committerGitHub <noreply@github.com>2023-08-10 21:46:06 +0000
commit450f8193a567ac6e5acd84e89fe73ed7ce137a78 (patch)
tree1c8418988d54fc4122d14218275927a523058413 /components/script/dom/shadowroot.rs
parent1f7f4cf2bedd1819ae129c2ac327425a756b5299 (diff)
downloadservo-450f8193a567ac6e5acd84e89fe73ed7ce137a78.tar.gz
servo-450f8193a567ac6e5acd84e89fe73ed7ce137a78.zip
Use mozjs tracing infrastructure (#29918)
* Update mozjs https://github.com/servo/mozjs/commit/64711ec2e6dc4595df691bffc7f1e5052ab86c8d also fixes https://github.com/servo/servo/issues/30043 * Move to mozjs Traceable and introduce CustomTraceable
Diffstat (limited to 'components/script/dom/shadowroot.rs')
-rw-r--r--components/script/dom/shadowroot.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/shadowroot.rs b/components/script/dom/shadowroot.rs
index 1fa9faae287..24441391f94 100644
--- a/components/script/dom/shadowroot.rs
+++ b/components/script/dom/shadowroot.rs
@@ -42,6 +42,7 @@ pub struct ShadowRoot {
document: Dom<Document>,
host: MutNullableDom<Element>,
/// List of author styles associated with nodes in this shadow tree.
+ #[custom_trace]
author_styles: DomRefCell<AuthorStyles<StyleSheetInDocument>>,
stylesheet_list: MutNullableDom<StyleSheetList>,
window: Dom<Window>,