mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +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:
@@ -4187,7 +4187,7 @@ class CGCallGenerator(CGThing):
|
||||
]))
|
||||
|
||||
if hasCEReactions:
|
||||
self.cgRoot.append(CGGeneric("<D as DomHelpers<D>>::pop_current_element_queue(CanGc::note());\n"))
|
||||
self.cgRoot.append(CGGeneric("<D as DomHelpers<D>>::pop_current_element_queue(cx);\n"))
|
||||
|
||||
if isFallible:
|
||||
if static:
|
||||
|
||||
Reference in New Issue
Block a user