mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
CanGc fixes in components/script/dom (#33891)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
9c893c7f4d
commit
f826698d6e
13 changed files with 49 additions and 25 deletions
|
@ -70,8 +70,9 @@ impl PerformanceObserver {
|
|||
global: &GlobalScope,
|
||||
callback: Rc<PerformanceObserverCallback>,
|
||||
entries: DOMPerformanceEntryList,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<PerformanceObserver> {
|
||||
Self::new_with_proto(global, None, callback, entries, CanGc::note())
|
||||
Self::new_with_proto(global, None, callback, entries, can_gc)
|
||||
}
|
||||
|
||||
#[allow(crown::unrooted_must_root)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue