mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
More files with CanGc fixes (#33892)
* More files with CanGc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> * removed the can_gc inside !task Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
fde8d72aca
commit
af6154cf63
31 changed files with 226 additions and 100 deletions
|
@ -40,16 +40,9 @@ impl RTCDataChannelEvent {
|
|||
bubbles: bool,
|
||||
cancelable: bool,
|
||||
channel: &RTCDataChannel,
|
||||
can_gc: CanGc,
|
||||
) -> DomRoot<RTCDataChannelEvent> {
|
||||
Self::new_with_proto(
|
||||
global,
|
||||
None,
|
||||
type_,
|
||||
bubbles,
|
||||
cancelable,
|
||||
channel,
|
||||
CanGc::note(),
|
||||
)
|
||||
Self::new_with_proto(global, None, type_, bubbles, cancelable, channel, can_gc)
|
||||
}
|
||||
|
||||
fn new_with_proto(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue