aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/WebGLRenderingContext.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_bindings/webidls/WebGLRenderingContext.webidl')
-rw-r--r--components/script_bindings/webidls/WebGLRenderingContext.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script_bindings/webidls/WebGLRenderingContext.webidl b/components/script_bindings/webidls/WebGLRenderingContext.webidl
index 6938e547cce..645eef0c23f 100644
--- a/components/script_bindings/webidls/WebGLRenderingContext.webidl
+++ b/components/script_bindings/webidls/WebGLRenderingContext.webidl
@@ -24,7 +24,8 @@ typedef unsigned long GLuint;
typedef unrestricted float GLfloat;
typedef unrestricted float GLclampf;
-typedef (ImageData or
+typedef (ImageBitmap or
+ ImageData or
HTMLImageElement or
HTMLCanvasElement or
HTMLVideoElement) TexImageSource;