Backed out changeset 2f2a20c16289 (bug 1533777) for crashing youtube on request by jya a=backout
authorCoroiu Cristina <ccoroiu@mozilla.com>
Wed, 13 Mar 2019 08:52:21 +0200
changeset 524672 9067457d7dcf72804288f61fc18326f31b2fc140
parent 524632 ce5d6bf5dcca9cf3d61955a97b34023f0a870b23
child 524683 588208caeaf863f2207792eeb1bd97e6c8fceed4
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1533777
milestone67.0a1
backs out2f2a20c16289b0dbd0faff84deca0e23782d6acd
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
Backed out changeset 2f2a20c16289 (bug 1533777) for crashing youtube on request by jya a=backout
mfbt/CheckedInt.h
--- a/mfbt/CheckedInt.h
+++ b/mfbt/CheckedInt.h
@@ -527,17 +527,17 @@ class CheckedInt {
   /** Constructs a valid checked integer with initial value 0 */
   constexpr CheckedInt() : mValue(0), mIsValid(true) {
     static_assert(detail::IsSupported<T>::value,
                   "This type is not supported by CheckedInt");
   }
 
   /** @returns the actual value */
   T value() const {
-    MOZ_RELEASE_ASSERT(
+    MOZ_ASSERT(
         mIsValid,
         "Invalid checked integer (division by zero or integer overflow)");
     return mValue;
   }
 
   /**
    * @returns true if the checked integer is valid, i.e. is not the result
    * of an invalid operation or of an operation involving an invalid checked