Loading dom/quota/ActorsParent.cpp +1 −31 Original line number Diff line number Diff line Loading @@ -3838,13 +3838,6 @@ QuotaManager::GetQuotaObject(PersistenceType aPersistenceType, return nullptr; } #if defined(NIGHTLY_BUILD) { MutexAutoLock autoLock(mQuotaMutex); MOZ_DIAGNOSTIC_ASSERT(mTemporaryStorageInitialized); } #endif nsString path; nsresult rv = aFile->GetPath(path); NS_ENSURE_SUCCESS(rv, nullptr); Loading Loading @@ -3930,13 +3923,6 @@ QuotaManager::GetQuotaObject(PersistenceType aPersistenceType, { NS_ASSERTION(!NS_IsMainThread(), "Wrong thread!"); #if defined(NIGHTLY_BUILD) if (aPersistenceType != PERSISTENCE_TYPE_PERSISTENT){ MutexAutoLock autoLock(mQuotaMutex); MOZ_DIAGNOSTIC_ASSERT(mTemporaryStorageInitialized); } #endif if (aFileSizeOut) { *aFileSizeOut = 0; } Loading Loading @@ -5256,14 +5242,7 @@ QuotaManager::EnsureOriginIsInitializedInternal( NS_ENSURE_SUCCESS(rv, rv); } #if defined(NIGHTLY_BUILD) { MutexAutoLock autoLock(mQuotaMutex); mTemporaryStorageInitialized = true; } #else mTemporaryStorageInitialized = true; #endif CheckTemporaryStorageLimits(); } Loading Loading @@ -5349,16 +5328,7 @@ QuotaManager::ResetOrClearCompleted() AssertIsOnIOThread(); mInitializedOrigins.Clear(); #if defined(NIGHTLY_BUILD) { MutexAutoLock autoLock(mQuotaMutex); mTemporaryStorageInitialized = false; } #else mTemporaryStorageInitialized = false; #endif mStorageInitialized = false; ReleaseIOThreadObjects(); Loading Loading
dom/quota/ActorsParent.cpp +1 −31 Original line number Diff line number Diff line Loading @@ -3838,13 +3838,6 @@ QuotaManager::GetQuotaObject(PersistenceType aPersistenceType, return nullptr; } #if defined(NIGHTLY_BUILD) { MutexAutoLock autoLock(mQuotaMutex); MOZ_DIAGNOSTIC_ASSERT(mTemporaryStorageInitialized); } #endif nsString path; nsresult rv = aFile->GetPath(path); NS_ENSURE_SUCCESS(rv, nullptr); Loading Loading @@ -3930,13 +3923,6 @@ QuotaManager::GetQuotaObject(PersistenceType aPersistenceType, { NS_ASSERTION(!NS_IsMainThread(), "Wrong thread!"); #if defined(NIGHTLY_BUILD) if (aPersistenceType != PERSISTENCE_TYPE_PERSISTENT){ MutexAutoLock autoLock(mQuotaMutex); MOZ_DIAGNOSTIC_ASSERT(mTemporaryStorageInitialized); } #endif if (aFileSizeOut) { *aFileSizeOut = 0; } Loading Loading @@ -5256,14 +5242,7 @@ QuotaManager::EnsureOriginIsInitializedInternal( NS_ENSURE_SUCCESS(rv, rv); } #if defined(NIGHTLY_BUILD) { MutexAutoLock autoLock(mQuotaMutex); mTemporaryStorageInitialized = true; } #else mTemporaryStorageInitialized = true; #endif CheckTemporaryStorageLimits(); } Loading Loading @@ -5349,16 +5328,7 @@ QuotaManager::ResetOrClearCompleted() AssertIsOnIOThread(); mInitializedOrigins.Clear(); #if defined(NIGHTLY_BUILD) { MutexAutoLock autoLock(mQuotaMutex); mTemporaryStorageInitialized = false; } #else mTemporaryStorageInitialized = false; #endif mStorageInitialized = false; ReleaseIOThreadObjects(); Loading