mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Make CanGc derive Copy and Clone (#33407)
Signed-off-by: Taym <haddadi.taym@gmail.com>
This commit is contained in:
parent
637770600f
commit
747e562ff0
15 changed files with 61 additions and 72 deletions
|
@ -1239,10 +1239,10 @@ impl ElementQueue {
|
|||
}
|
||||
|
||||
/// <https://html.spec.whatwg.org/multipage/#invoke-custom-element-reactions>
|
||||
fn invoke_reactions(&self, _can_gc: CanGc) {
|
||||
fn invoke_reactions(&self, can_gc: CanGc) {
|
||||
// Steps 1-2
|
||||
while let Some(element) = self.next_element() {
|
||||
element.invoke_reactions(CanGc::note())
|
||||
element.invoke_reactions(can_gc)
|
||||
}
|
||||
self.queue.borrow_mut().clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue