aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webglcontextevent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webglcontextevent.rs')
-rw-r--r--components/script/dom/webglcontextevent.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webglcontextevent.rs b/components/script/dom/webglcontextevent.rs
index b19b34c9b3d..8a0c55ff583 100644
--- a/components/script/dom/webglcontextevent.rs
+++ b/components/script/dom/webglcontextevent.rs
@@ -79,6 +79,7 @@ impl WebGLContextEvent {
bubbles: EventBubbles,
cancelable: EventCancelable,
status_message: DOMString,
+ can_gc: CanGc,
) -> DomRoot<WebGLContextEvent> {
Self::new_with_proto(
window,
@@ -87,7 +88,7 @@ impl WebGLContextEvent {
bubbles,
cancelable,
status_message,
- CanGc::note(),
+ can_gc,
)
}