summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-07-22 20:59:15 +0000
committerGitHub <noreply@github.com>2019-07-22 20:59:15 +0000
commit234c10fd6d33c55a0f90289a63d5f181a52a409c (patch)
tree2f8fef623e062d0982cff129ee1ef38ebfd8a1dd
parent333554821af37a582dc2a8849197849cbb7b36c8 (diff)
parent039d70f696ac765277803110538abbfc78b5e954 (diff)
downloadUXP-234c10fd6d33c55a0f90289a63d5f181a52a409c.tar
UXP-234c10fd6d33c55a0f90289a63d5f181a52a409c.tar.gz
UXP-234c10fd6d33c55a0f90289a63d5f181a52a409c.tar.lz
UXP-234c10fd6d33c55a0f90289a63d5f181a52a409c.tar.xz
UXP-234c10fd6d33c55a0f90289a63d5f181a52a409c.zip
Merge pull request #1197 from adeshkp/patch-12
Fix call to macro `MOZ_ASSERT_UNREACHABLE`
-rw-r--r--gfx/gl/GLUploadHelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/GLUploadHelpers.cpp b/gfx/gl/GLUploadHelpers.cpp
index 9988f1d3d..0bbb61434 100644
--- a/gfx/gl/GLUploadHelpers.cpp
+++ b/gfx/gl/GLUploadHelpers.cpp
@@ -495,7 +495,7 @@ UploadImageDataToTexture(GLContext* gl,
surfaceFormat = SurfaceFormat::A8;
break;
default:
- MOZ_ASSERT_UNREACHABLE(false, "Unhandled image surface format!");
+ MOZ_ASSERT_UNREACHABLE("Unhandled image surface format!");
}
if (aOutUploadSize) {