mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
script_bindings: Pass &mut JSContext to CustomElementReaction::invoke (#43535)
Pass `&mut JSContext` to `CustomElementReaction::invoke` and `upgrade_element` algorithm. Testing: A successful build is enough Part of #40600 Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
@@ -848,11 +848,11 @@ impl ScriptThread {
|
||||
})
|
||||
}
|
||||
|
||||
pub(crate) fn invoke_backup_element_queue(can_gc: CanGc) {
|
||||
pub(crate) fn invoke_backup_element_queue(cx: &mut js::context::JSContext) {
|
||||
with_script_thread(|script_thread| {
|
||||
script_thread
|
||||
.custom_element_reaction_stack
|
||||
.invoke_backup_element_queue(can_gc);
|
||||
.invoke_backup_element_queue(cx);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user