mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Replace CanGC note calls with arguments passed by callers (#33978)
Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com> Co-authored-by: Wulan Seruniati Salim <lauwwulan1806@gmail.com>
This commit is contained in:
parent
9d75862c7d
commit
3ed778150f
3 changed files with 5 additions and 5 deletions
|
@ -708,7 +708,7 @@ impl Callback for ConsumeBodyPromiseHandler {
|
|||
|
||||
let realm = enter_realm(&*global);
|
||||
let comp = InRealm::Entered(&realm);
|
||||
read_promise.append_native_handler(&handler, comp, CanGc::note());
|
||||
read_promise.append_native_handler(&handler, comp, can_gc);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue