aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2018-04-03 14:17:11 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2018-04-03 14:17:11 +0200
commit4b032f91915f3dfa845cb45650773806e1277cc2 (patch)
tree522659aa1f1766ac71cb366f5857d9b91c889675 /components
parent938f1362e7f1b1f8a121eacc36e24c9ac6236e13 (diff)
downloadservo-4b032f91915f3dfa845cb45650773806e1277cc2.tar.gz
servo-4b032f91915f3dfa845cb45650773806e1277cc2.zip
Properly implement the WebGL2 mixin
It should not extend the WebGL1 mixin.
Diffstat (limited to 'components')
-rw-r--r--components/script/dom/webidls/WebGL2RenderingContext.webidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/webidls/WebGL2RenderingContext.webidl b/components/script/dom/webidls/WebGL2RenderingContext.webidl
index 96503770aac..d7492f8c2d1 100644
--- a/components/script/dom/webidls/WebGL2RenderingContext.webidl
+++ b/components/script/dom/webidls/WebGL2RenderingContext.webidl
@@ -573,10 +573,10 @@ interface WebGL2RenderingContextBase
[WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray);
void bindVertexArray(WebGLVertexArrayObject? array);*/
};
-WebGL2RenderingContextBase implements WebGLRenderingContextBase;
[Pref="dom.webgl2.enabled"]
interface WebGL2RenderingContext
{
};
+WebGL2RenderingContext implements WebGLRenderingContextBase;
WebGL2RenderingContext implements WebGL2RenderingContextBase;