diff options
Diffstat (limited to 'dom/canvas')
-rw-r--r-- | dom/canvas/WebGL2ContextState.cpp | 2 | ||||
-rw-r--r-- | dom/canvas/WebGLContextGL.cpp | 2 | ||||
-rw-r--r-- | dom/canvas/WebGLQuery.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dom/canvas/WebGL2ContextState.cpp b/dom/canvas/WebGL2ContextState.cpp index 5cdfb7277b..57f818c524 100644 --- a/dom/canvas/WebGL2ContextState.cpp +++ b/dom/canvas/WebGL2ContextState.cpp @@ -121,7 +121,7 @@ WebGL2Context::GetParameter(JSContext* cx, GLenum pname, ErrorResult& rv) return JS::NumberValue(UINT32_MAX); /*** fall through to fGetInteger64v ***/ - MOZ_FALLTHROUGH; + [[fallthrough]]; case LOCAL_GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: case LOCAL_GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 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: diff --git a/dom/canvas/WebGLQuery.cpp b/dom/canvas/WebGLQuery.cpp index ea71243c97..60a5d0bc76 100644 --- a/dom/canvas/WebGLQuery.cpp +++ b/dom/canvas/WebGLQuery.cpp @@ -178,7 +178,7 @@ WebGLQuery::GetQueryParameter(GLenum pname, JS::MutableHandleValue retval) const gl->fGetQueryObjectui64v(mGLName, pname, &val); break; } - MOZ_FALLTHROUGH; + [[fallthrough]]; default: gl->fGetQueryObjectuiv(mGLName, LOCAL_GL_QUERY_RESULT, (GLuint*)&val); |