Bug 1332937 - Use MOZ_RELEASE_ASSERT behind cubeb's XASSERT so it's enabled in release. r=achronop
authorPaul Adenot <paul@paul.cx>
Fri, 10 Feb 2017 15:15:06 +0100
changeset 342245 c67282da235f86ec8c739142541c2cce9162c177
parent 342244 7bdff2fe50521570fb21e374958c138f8bd5c2b3
child 342246 9a6ab1af7f877cc5ac7388335676863956e621ba
push id31346
push userkwierso@gmail.com
push dateFri, 10 Feb 2017 22:33:24 +0000
treeherdermozilla-central@7b9d9e4a82a6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersachronop
bugs1332937
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332937 - Use MOZ_RELEASE_ASSERT behind cubeb's XASSERT so it's enabled in release. r=achronop MozReview-Commit-ID: ISAb2ops8iq
media/libcubeb/src/cubeb_assert.h
--- a/media/libcubeb/src/cubeb_assert.h
+++ b/media/libcubeb/src/cubeb_assert.h
@@ -6,12 +6,12 @@
 
 #ifndef CUBEB_ASSERT
 #define CUBEB_ASSERT
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <mozilla/Assertions.h>
 
-/* Forward fatal asserts to MOZ_ASSERT when built inside Gecko. */
-#define XASSERT(expr) MOZ_ASSERT(expr)
+/* Forward fatal asserts to MOZ_RELEASE_ASSERT when built inside Gecko. */
+#define XASSERT(expr) MOZ_RELEASE_ASSERT(expr)
 
 #endif