aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlquoteelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/htmlquoteelement.rs')
-rw-r--r--components/script/dom/htmlquoteelement.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/htmlquoteelement.rs b/components/script/dom/htmlquoteelement.rs
index e8fc6f30407..1caf6a1b46d 100644
--- a/components/script/dom/htmlquoteelement.rs
+++ b/components/script/dom/htmlquoteelement.rs
@@ -12,6 +12,7 @@ use crate::dom::bindings::str::USVString;
use crate::dom::document::Document;
use crate::dom::htmlelement::HTMLElement;
use crate::dom::node::Node;
+use crate::script_runtime::CanGc;
#[dom_struct]
pub struct HTMLQuoteElement {
@@ -35,6 +36,7 @@ impl HTMLQuoteElement {
prefix: Option<Prefix>,
document: &Document,
proto: Option<HandleObject>,
+ can_gc: CanGc,
) -> DomRoot<HTMLQuoteElement> {
Node::reflect_node_with_proto(
Box::new(HTMLQuoteElement::new_inherited(
@@ -42,6 +44,7 @@ impl HTMLQuoteElement {
)),
document,
proto,
+ can_gc,
)
}
}