aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webgl_extensions/ext
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webgl_extensions/ext')
-rw-r--r--components/script/dom/webgl_extensions/ext/angleinstancedarrays.rs2
-rw-r--r--components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webgl_extensions/ext/angleinstancedarrays.rs b/components/script/dom/webgl_extensions/ext/angleinstancedarrays.rs
index 5c79a692adb..becfac57266 100644
--- a/components/script/dom/webgl_extensions/ext/angleinstancedarrays.rs
+++ b/components/script/dom/webgl_extensions/ext/angleinstancedarrays.rs
@@ -62,7 +62,7 @@ impl WebGLExtension for ANGLEInstancedArrays {
}
}
-impl ANGLEInstancedArraysMethods for ANGLEInstancedArrays {
+impl ANGLEInstancedArraysMethods<crate::DomTypeHolder> for ANGLEInstancedArrays {
// https://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/
fn DrawArraysInstancedANGLE(&self, mode: u32, first: i32, count: i32, primcount: i32) {
handle_potential_webgl_error!(
diff --git a/components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs b/components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs
index 4ddb5c2fb52..7edabae4b73 100644
--- a/components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs
+++ b/components/script/dom/webgl_extensions/ext/oesvertexarrayobject.rs
@@ -29,7 +29,7 @@ impl OESVertexArrayObject {
}
}
-impl OESVertexArrayObjectMethods for OESVertexArrayObject {
+impl OESVertexArrayObjectMethods<crate::DomTypeHolder> for OESVertexArrayObject {
// https://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
fn CreateVertexArrayOES(&self) -> Option<DomRoot<WebGLVertexArrayObjectOES>> {
self.ctx.create_vertex_array()