mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
cangc fixes in several files + event.rs + rtcpeerconnection.rs (#34002)
Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
3b5dc069ae
commit
7ad8822d94
37 changed files with 166 additions and 132 deletions
|
@ -304,10 +304,10 @@ impl WebGLRenderingContext {
|
|||
);
|
||||
match canvas {
|
||||
HTMLCanvasElementOrOffscreenCanvas::HTMLCanvasElement(canvas) => {
|
||||
event.upcast::<Event>().fire(canvas.upcast());
|
||||
event.upcast::<Event>().fire(canvas.upcast(), can_gc);
|
||||
},
|
||||
HTMLCanvasElementOrOffscreenCanvas::OffscreenCanvas(canvas) => {
|
||||
event.upcast::<Event>().fire(canvas.upcast());
|
||||
event.upcast::<Event>().fire(canvas.upcast(), can_gc);
|
||||
},
|
||||
}
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue