Bug 1168606 - Added missing assignment of Exists result to rv. r=ttung,asuth
authorSimon Giesecke <sgiesecke@mozilla.com>
Wed, 21 Aug 2019 09:27:46 +0200
changeset 489145 fa95640baa86a86cb33f6bf9985f3a771c15e9f4
parent 489144 f0f5d12cc2b72899ed6e48a315714ce86001c03e
child 489146 e37925661bb44880b5d91455736fc7819d5bbb46
push id36465
push userdvarga@mozilla.com
push dateWed, 21 Aug 2019 16:47:43 +0000
treeherdermozilla-central@4ab60925635c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersttung, asuth
bugs1168606
milestone70.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 1168606 - Added missing assignment of Exists result to rv. r=ttung,asuth Differential Revision: https://phabricator.services.mozilla.com/D41191
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -20029,17 +20029,17 @@ nsresult OpenDatabaseOp::DoDatabaseWork(
   }
 
   rv = markerFile->Append(NS_LITERAL_STRING(IDB_DELETION_MARKER_FILE_PREFIX) +
                           filename);
   if (NS_WARN_IF(NS_FAILED(rv))) {
     return rv;
   }
 
-  markerFile->Exists(&exists);
+  rv = markerFile->Exists(&exists);
   if (NS_WARN_IF(NS_FAILED(rv))) {
     return rv;
   }
 
   if (exists) {
     // Delete the database and directroy since they should be deleted in
     // previous operation.
     // Note: only update usage to the QuotaManager when mEnforcingQuota == true