Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, a=RyanVM
authorMiko Mynttinen <mikokm@gmail.com>
Thu, 12 Apr 2018 14:18:03 +0200
changeset 463295 9718d92fab4d9a39acdc2afb0302b6fcd7997f6c
parent 463294 972d60b262109bfae35e9a8ed89d2d9b6860cdf2
child 463296 01e680ea0270b9b84e409c686541b0db4dff3c54
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange, fbraun, RyanVM
bugs1393367
milestone60.0
Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, a=RyanVM
gfx/2d/FilterNodeSoftware.cpp
--- a/gfx/2d/FilterNodeSoftware.cpp
+++ b/gfx/2d/FilterNodeSoftware.cpp
@@ -2793,17 +2793,17 @@ FilterNodeArithmeticCombineSoftware::Inp
 }
 
 void
 FilterNodeArithmeticCombineSoftware::SetAttribute(uint32_t aIndex,
                                                   const Float* aFloat,
                                                   uint32_t aSize)
 {
   MOZ_ASSERT(aIndex == ATT_ARITHMETIC_COMBINE_COEFFICIENTS);
-  MOZ_ASSERT(aSize == 4);
+  MOZ_RELEASE_ASSERT(aSize == 4);
 
   mK1 = aFloat[0];
   mK2 = aFloat[1];
   mK3 = aFloat[2];
   mK4 = aFloat[3];
 
   Invalidate();
 }