Bug 1164232 - Correcting return value of RecvPBackgroundIDBTransactionConstructor, r=bent, a=lhenry
authorMartin Thomson <martin.thomson@gmail.com>
Tue, 12 May 2015 14:46:21 -0700
changeset 267455 bf701a33867c49b574d7dcbd3a8f129a21b0a38e
parent 267454 8c2cf22f867ef91c5c7570cf53ec0adbb39f7792
child 267456 0811a946dba176abc0a2576a3fdb26cbac8aac49
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbent, lhenry
bugs1164232
milestone39.0
Bug 1164232 - Correcting return value of RecvPBackgroundIDBTransactionConstructor, r=bent, a=lhenry
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -6528,17 +6528,17 @@ Database::RecvPBackgroundIDBTransactionC
     // actually do any work.
     return true;
   }
 
   if (!gTransactionThreadPool) {
     nsRefPtr<TransactionThreadPool> threadPool =
       TransactionThreadPool::Create();
     if (NS_WARN_IF(!threadPool)) {
-      return nullptr;
+      return false;
     }
 
     gTransactionThreadPool = threadPool;
   }
 
   const uint64_t transactionId = gTransactionThreadPool->NextTransactionId();
 
   auto* transaction = static_cast<NormalTransaction*>(aActor);