summaryrefslogtreecommitdiff
path: root/dom/canvas/WebGLContextGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/WebGLContextGL.cpp')
-rw-r--r--dom/canvas/WebGLContextGL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/canvas/WebGLContextGL.cpp b/dom/canvas/WebGLContextGL.cpp
index d01a0d44e3..9e7ac963ca 100644
--- a/dom/canvas/WebGLContextGL.cpp
+++ b/dom/canvas/WebGLContextGL.cpp
@@ -792,7 +792,7 @@ WebGLContext::GetRenderbufferParameter(GLenum target, GLenum pname)
case LOCAL_GL_RENDERBUFFER_SAMPLES:
if (!IsWebGL2())
break;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case LOCAL_GL_RENDERBUFFER_WIDTH:
case LOCAL_GL_RENDERBUFFER_HEIGHT: