aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/htmlconstructor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bindings/htmlconstructor.rs')
-rw-r--r--components/script/dom/bindings/htmlconstructor.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/bindings/htmlconstructor.rs b/components/script/dom/bindings/htmlconstructor.rs
index 111f78751d7..56aedc04840 100644
--- a/components/script/dom/bindings/htmlconstructor.rs
+++ b/components/script/dom/bindings/htmlconstructor.rs
@@ -51,7 +51,7 @@ use crate::dom::element::{Element, ElementCreator};
use crate::dom::globalscope::GlobalScope;
use crate::dom::htmlelement::HTMLElement;
use crate::dom::window::Window;
-use crate::script_runtime::{JSContext, JSContext as SafeJSContext};
+use crate::script_runtime::{CanGc, JSContext, JSContext as SafeJSContext};
use crate::script_thread::ScriptThread;
// https://html.spec.whatwg.org/multipage/#htmlconstructor
@@ -369,8 +369,8 @@ pub fn get_constructor_object_from_local_name(
}
}
-pub fn pop_current_element_queue() {
- ScriptThread::pop_current_element_queue();
+pub fn pop_current_element_queue(can_gc: CanGc) {
+ ScriptThread::pop_current_element_queue(can_gc);
}
pub fn push_new_element_queue() {