Bug 1413868.

This commit is contained in:
wolfbeast 2018-06-30 18:34:19 +02:00 • committed by Roy Tam
commit c180f85048
8 changed files with 466 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#include "mozilla/ArrayUtils.h"
#include "mozilla/Attributes.h"
#include "mozilla/FilePreferences.h"
#include "mozilla/ChaosMode.h"
#include "mozilla/IOInterposer.h"
#include "mozilla/Likely.h"
@ -3744,6 +3745,10 @@ XREMain::XRE_mainRun()
mDirProvider.DoStartup();
// As FilePreferences need the profile directory, we must initialize right here.
mozilla::FilePreferences::InitDirectoriesWhitelist();
mozilla::FilePreferences::InitPrefs();
OverrideDefaultLocaleIfNeeded();
appStartup->GetShuttingDown(&mShuttingDown);