mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

mLocale is currently initialized in IndexedDatabaseManager::Init which is called from IndexedDatabaseManager::GetOrCreate if the manager doesn't exist. This can be a problem when IndexedDatabaseManager::GetOrCreate is called very early,for example in nsLayoutStatics::Initialize in the parent process. This is a preparation for moving IndexedDatabaseManager::GetOrCreate from FactoryOp::Open to InitializeQuotaManager. Differential Revision: https://phabricator.services.mozilla.com/D189891