Bug 1546723 - Followup fix: Convert MOZ_DIAGNOSTIC_ASSERT back to MOZ_ASSERT since bug 1541775 hasn't been fixed yet; r=asuth a=jcristau
authorJan Varga <jan.varga@gmail.com>
Thu, 30 May 2019 21:34:11 +0200
changeset 536844 2a42b81259f661b8b91573daee509d494a50e1f5
parent 536843 ad7c72a799ba407c6117261260593942d3a50f75
child 536845 e9a8bcc1834245886d249b4c91467ca2a5984396
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth, jcristau
bugs1546723, 1541775
milestone68.0
Bug 1546723 - Followup fix: Convert MOZ_DIAGNOSTIC_ASSERT back to MOZ_ASSERT since bug 1541775 hasn't been fixed yet; r=asuth a=jcristau
dom/localstorage/ActorsParent.cpp
--- a/dom/localstorage/ActorsParent.cpp
+++ b/dom/localstorage/ActorsParent.cpp
@@ -5977,17 +5977,17 @@ mozilla::ipc::IPCResult Snapshot::RecvDe
   }
   return IPC_OK();
 }
 
 mozilla::ipc::IPCResult Snapshot::RecvCheckpoint(
     nsTArray<LSWriteInfo>&& aWriteInfos) {
   AssertIsOnBackgroundThread();
   MOZ_ASSERT(mUsage >= 0);
-  MOZ_DIAGNOSTIC_ASSERT(mPeakUsage >= mUsage);
+  MOZ_ASSERT(mPeakUsage >= mUsage);
 
   if (NS_WARN_IF(aWriteInfos.IsEmpty())) {
     ASSERT_UNLESS_FUZZING();
     return IPC_FAIL_NO_REASON(this);
   }
 
   if (NS_WARN_IF(mHasOtherProcessObservers)) {
     ASSERT_UNLESS_FUZZING();