diff options
Diffstat (limited to 'components/script/dom/htmllegendelement.rs')
-rw-r--r-- | components/script/dom/htmllegendelement.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/htmllegendelement.rs b/components/script/dom/htmllegendelement.rs index 61e8df45fe8..8d5029b69fa 100644 --- a/components/script/dom/htmllegendelement.rs +++ b/components/script/dom/htmllegendelement.rs @@ -17,6 +17,7 @@ use crate::dom::htmlfieldsetelement::HTMLFieldSetElement; use crate::dom::htmlformelement::{FormControl, HTMLFormElement}; use crate::dom::node::{BindContext, Node, UnbindContext}; use crate::dom::virtualmethods::VirtualMethods; +use crate::script_runtime::CanGc; #[dom_struct] pub struct HTMLLegendElement { @@ -42,6 +43,7 @@ impl HTMLLegendElement { prefix: Option<Prefix>, document: &Document, proto: Option<HandleObject>, + can_gc: CanGc, ) -> DomRoot<HTMLLegendElement> { Node::reflect_node_with_proto( Box::new(HTMLLegendElement::new_inherited( @@ -49,6 +51,7 @@ impl HTMLLegendElement { )), document, proto, + can_gc, ) } } |