diff options
author | chickenleaf <lashwinib@gmail.com> | 2024-10-22 03:02:22 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 21:32:22 +0000 |
commit | ebfea9b352ef0ec00ad5213055392668e841a0e9 (patch) | |
tree | 43baab7b7e7a4bd6f1a8111bfb8fe598aeb2cf87 /components/script/dom/securitypolicyviolationevent.rs | |
parent | 1bf68567b8608d87e1817066f1dacb27edc5602a (diff) | |
download | servo-ebfea9b352ef0ec00ad5213055392668e841a0e9.tar.gz servo-ebfea9b352ef0ec00ad5213055392668e841a0e9.zip |
CanGc fixes in several files (#33958)
* few cangc fixes
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
* few cangc fixes
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
---------
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/securitypolicyviolationevent.rs')
-rw-r--r-- | components/script/dom/securitypolicyviolationevent.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/components/script/dom/securitypolicyviolationevent.rs b/components/script/dom/securitypolicyviolationevent.rs index f62116c2699..f258e326955 100644 --- a/components/script/dom/securitypolicyviolationevent.rs +++ b/components/script/dom/securitypolicyviolationevent.rs @@ -93,16 +93,9 @@ impl SecurityPolicyViolationEvent { bubbles: EventBubbles, cancelable: EventCancelable, init: &SecurityPolicyViolationEventInit, + can_gc: CanGc, ) -> DomRoot<Self> { - Self::new_with_proto( - global, - None, - type_, - bubbles, - cancelable, - init, - CanGc::note(), - ) + Self::new_with_proto(global, None, type_, bubbles, cancelable, init, can_gc) } } |