mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
refactor: add CanGc as argument to Promise::resolve (#35616)
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
This commit is contained in:
parent
adb831eefe
commit
0383ba9a5b
57 changed files with 330 additions and 294 deletions
|
@ -4625,7 +4625,7 @@ impl TaskOnce for ElementPerformFullscreenEnter {
|
|||
.fire_event(atom!("fullscreenchange"), CanGc::note());
|
||||
|
||||
// Step 7.7
|
||||
promise.resolve_native(&());
|
||||
promise.resolve_native(&(), CanGc::note());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4659,7 +4659,7 @@ impl TaskOnce for ElementPerformFullscreenExit {
|
|||
.fire_event(atom!("fullscreenchange"), CanGc::note());
|
||||
|
||||
// Step 9.10
|
||||
self.promise.root().resolve_native(&());
|
||||
self.promise.root().resolve_native(&(), CanGc::note());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue