diff options
Diffstat (limited to 'components/script/dom/webglvertexarrayobject.rs')
-rw-r--r-- | components/script/dom/webglvertexarrayobject.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webglvertexarrayobject.rs b/components/script/dom/webglvertexarrayobject.rs index 45b1b741193..885ad0e44d8 100644 --- a/components/script/dom/webglvertexarrayobject.rs +++ b/components/script/dom/webglvertexarrayobject.rs @@ -31,11 +31,12 @@ impl WebGLVertexArrayObject { pub(crate) fn new( context: &WebGLRenderingContext, id: Option<WebGLVertexArrayId>, + can_gc: CanGc, ) -> DomRoot<Self> { reflect_dom_object( Box::new(WebGLVertexArrayObject::new_inherited(context, id)), &*context.global(), - CanGc::note(), + can_gc, ) } |