Bug 1808294 - Rename EnsureTemporaryStorageIsInitialized to EnsureTemporaryStorageIsInitializedInternal; r=dom-storage-reviewers,asuth
One of the goals of the asynchronous temporary storage initialization is to call EnsureTemporaryStorageIsInitialized only from InitTemporaryStorageOp. Calling from other places including quota clients will be disallowed by changing the method to a private method. The private nature of the method should be emphasized by adding the Internal suffix. Differential Revision: https://phabricator.services.mozilla.com/D188332
This commit is contained in:
4
dom/cache/Context.cpp
vendored
4
dom/cache/Context.cpp
vendored
@@ -399,8 +399,8 @@ Context::QuotaInitRunnable::Run() {
|
||||
QuotaManager* quotaManager = QuotaManager::Get();
|
||||
MOZ_DIAGNOSTIC_ASSERT(quotaManager);
|
||||
|
||||
QM_TRY(
|
||||
MOZ_TO_RESULT(quotaManager->EnsureTemporaryStorageIsInitialized()));
|
||||
QM_TRY(MOZ_TO_RESULT(
|
||||
quotaManager->EnsureTemporaryStorageIsInitializedInternal()));
|
||||
|
||||
QM_TRY_UNWRAP(
|
||||
mDirectoryMetadata->mDir,
|
||||
|
||||
Reference in New Issue
Block a user