mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Propagate CanGc
arguments through callers in constructors (#35541)
Signed-off-by: Auguste Baum <auguste.apple@gmail.com>
This commit is contained in:
parent
5465bfc2af
commit
863d2ce871
260 changed files with 986 additions and 603 deletions
|
@ -98,7 +98,8 @@ impl PerformanceObserver {
|
|||
return;
|
||||
}
|
||||
let entry_list = PerformanceEntryList::new(self.entries.borrow_mut().drain(..).collect());
|
||||
let observer_entry_list = PerformanceObserverEntryList::new(&self.global(), entry_list);
|
||||
let observer_entry_list =
|
||||
PerformanceObserverEntryList::new(&self.global(), entry_list, CanGc::note());
|
||||
// using self both as thisArg and as the second formal argument
|
||||
let _ = self
|
||||
.callback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue