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

@ -51,6 +51,7 @@
#include "base/process_util.h"
#include "chrome/common/child_process.h"
#include "mozilla/FilePreferences.h"
#include "mozilla/ipc/BrowserProcessSubThread.h"
#include "mozilla/ipc/GeckoChildProcessHost.h"
#include "mozilla/ipc/IOThreadChild.h"
@ -566,6 +567,9 @@ XRE_InitChildProcess(int aArgc,
::SetProcessShutdownParameters(0x280 - 1, SHUTDOWN_NORETRY);
#endif
mozilla::FilePreferences::InitDirectoriesWhitelist();
mozilla::FilePreferences::InitPrefs();
OverrideDefaultLocaleIfNeeded();
// Run the UI event loop on the main thread.