Bug 1540401 - Backout Part 4: Convert MOZ_DIAGNOSTIC_ASSERT back to MOZ_ASSERT since bug 1541771 hasn't been fixed yet; r=asuth, a=jcristau
authorJan Varga <jan.varga@gmail.com>
Wed, 05 Jun 2019 20:07:50 +0200
changeset 536810 8814bb1352784e68fc0944c17104d308166a93b7
parent 536809 8a44e86052bb5439b6f71ee0c616ba2f6251a655
child 536811 927b23f07645dd3f1ff4b63d8cf477bec77b9e22
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
bugs1540401, 1541771
milestone68.0
Bug 1540401 - Backout Part 4: Convert MOZ_DIAGNOSTIC_ASSERT back to MOZ_ASSERT since bug 1541771 hasn't been fixed yet; r=asuth, a=jcristau
dom/localstorage/ActorsParent.cpp
--- a/dom/localstorage/ActorsParent.cpp
+++ b/dom/localstorage/ActorsParent.cpp
@@ -2961,17 +2961,17 @@ void AssertIsOnConnectionThread() {
 
 void InitUsageForOrigin(const nsACString& aOrigin, int64_t aUsage) {
   AssertIsOnIOThread();
 
   if (!gUsages) {
     gUsages = new UsageHashtable();
   }
 
-  MOZ_DIAGNOSTIC_ASSERT(!gUsages->Contains(aOrigin));
+  MOZ_ASSERT(!gUsages->Contains(aOrigin));
   gUsages->Put(aOrigin, aUsage);
 }
 
 bool GetUsageForOrigin(const nsACString& aOrigin, int64_t& aUsage) {
   AssertIsOnIOThread();
 
   if (gUsages) {
     int64_t usage;