diff options
author | chickenleaf <lashwinib@gmail.com> | 2024-10-24 04:14:50 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 22:44:50 +0000 |
commit | bb4932026cef55aefd95a5a627a944e1ad26c6f2 (patch) | |
tree | 1bcdd4a258beb01c3eb788d94d3698e4d3ebb2b9 /components/script/dom/htmlolistelement.rs | |
parent | 3ed778150fbaa2656d38e4cda8325797d14d27c1 (diff) | |
download | servo-bb4932026cef55aefd95a5a627a944e1ad26c6f2.tar.gz servo-bb4932026cef55aefd95a5a627a944e1ad26c6f2.zip |
cangc fixes in node.rs (#33984)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/htmlolistelement.rs')
-rw-r--r-- | components/script/dom/htmlolistelement.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/htmlolistelement.rs b/components/script/dom/htmlolistelement.rs index 1c4c928f8b3..7b42893fbbe 100644 --- a/components/script/dom/htmlolistelement.rs +++ b/components/script/dom/htmlolistelement.rs @@ -10,6 +10,7 @@ use crate::dom::bindings::root::DomRoot; use crate::dom::document::Document; use crate::dom::htmlelement::HTMLElement; use crate::dom::node::Node; +use crate::script_runtime::CanGc; #[dom_struct] pub struct HTMLOListElement { @@ -33,6 +34,7 @@ impl HTMLOListElement { prefix: Option<Prefix>, document: &Document, proto: Option<HandleObject>, + can_gc: CanGc, ) -> DomRoot<HTMLOListElement> { Node::reflect_node_with_proto( Box::new(HTMLOListElement::new_inherited( @@ -40,6 +42,7 @@ impl HTMLOListElement { )), document, proto, + can_gc, ) } } |