зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1722892 - Replace NS_ASSERTION uses in FileStreams.cpp r=janv,dom-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D121554
This commit is contained in:
Родитель
c003ef765b
Коммит
131e54eda8
|
@ -49,9 +49,9 @@ NS_IMETHODIMP FileQuotaStream<FileStreamBase>::Close() {
|
|||
template <class FileStreamBase>
|
||||
nsresult FileQuotaStream<FileStreamBase>::DoOpen() {
|
||||
QuotaManager* quotaManager = QuotaManager::Get();
|
||||
NS_ASSERTION(quotaManager, "Shouldn't be null!");
|
||||
MOZ_ASSERT(quotaManager, "Shouldn't be null!");
|
||||
|
||||
NS_ASSERTION(!mQuotaObject, "Creating quota object more than once?");
|
||||
MOZ_ASSERT(!mQuotaObject, "Creating quota object more than once?");
|
||||
mQuotaObject = quotaManager->GetQuotaObject(
|
||||
mPersistenceType, mOriginMetadata, mClientType,
|
||||
FileStreamBase::mOpenParams.localFile);
|
||||
|
|
Загрузка…
Ссылка в новой задаче