Bug 1598610 - Always initialize TransactionDatabaseOperationBase::mWaitingForContinue. r=dom-workers-and-storage-reviewers,janv
authorSimon Giesecke <sgiesecke@mozilla.com>
Fri, 22 Nov 2019 13:51:54 +0000
changeset 503411 4e3f60b67f7034b794a58657fa0c22f6c28f4481
parent 503410 b17ea5cb77148d291bdcb10f2d8bc598b5cd67c2
child 503412 716363b8b0b2fa60dd70d74878e0598a9e4ca3c2
push id36833
push userbtara@mozilla.com
push dateFri, 22 Nov 2019 21:40:53 +0000
treeherdermozilla-central@2c912e46295e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdom-workers-and-storage-reviewers, janv
bugs1598610
milestone72.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 1598610 - Always initialize TransactionDatabaseOperationBase::mWaitingForContinue. r=dom-workers-and-storage-reviewers,janv Differential Revision: https://phabricator.services.mozilla.com/D54280
dom/indexedDB/ActorsParent.cpp
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -21952,16 +21952,17 @@ TransactionDatabaseOperationBase::Transa
 }
 
 TransactionDatabaseOperationBase::TransactionDatabaseOperationBase(
     TransactionBase* aTransaction, uint64_t aLoggingSerialNumber)
     : DatabaseOperationBase(aTransaction->GetLoggingInfo()->Id(),
                             aLoggingSerialNumber),
       mTransaction(aTransaction),
       mInternalState(InternalState::Initial),
+      mWaitingForContinue(false),
       mTransactionIsAborted(aTransaction->IsAborted()),
       mTransactionLoggingSerialNumber(aTransaction->LoggingSerialNumber())
 #ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED
       ,
       mAssumingPreviousOperationFail(false)
 #endif
 {
   MOZ_ASSERT(aTransaction);