Bug 1287756 - prevent assignment in assert expression for |mCurrentMaintenance|.r=janv
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Tue, 19 Jul 2016 21:18:03 +0300
changeset 305769 99837fd9225866b6416caa2f7cd97e9632bad0ea
parent 305768 4dd2466573eceb92c70f8436ad54bb400ae4110b
child 305770 a10527539339290247c0f7c9dc41896a5b0dd67e
push id79665
push usercbook@mozilla.com
push dateWed, 20 Jul 2016 09:36:22 +0000
treeherdermozilla-inbound@744232e7c04a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjanv
bugs1287756
milestone50.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 1287756 - prevent assignment in assert expression for |mCurrentMaintenance|.r=janv MozReview-Commit-ID: 8p72mQrKmWx
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -8941,17 +8941,17 @@ public:
     return result.forget();
   }
 
   void
   NoteFinishedMaintenance(Maintenance* aMaintenance)
   {
     AssertIsOnBackgroundThread();
     MOZ_ASSERT(aMaintenance);
-    MOZ_ASSERT(mCurrentMaintenance = aMaintenance);
+    MOZ_ASSERT(mCurrentMaintenance == aMaintenance);
 
     mCurrentMaintenance = nullptr;
     ProcessMaintenanceQueue();
   }
 
   nsThreadPool*
   GetOrCreateThreadPool();