mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1380110 Fix --disable-sandbox by adding #if guards r=bobowen,handyman
MozReview-Commit-ID: ETjN2KTUi4l --HG-- extra : rebase_source : aab381bd58d09361c86c3fd08a9e9a9b7969159f
This commit is contained in:
parent
9d8c9528c4
commit
298109b5e5
@ -4469,9 +4469,11 @@ XREMain::XRE_mainRun()
|
||||
PR_SetEnv(saved.release());
|
||||
}
|
||||
|
||||
#if defined(MOZ_SANDBOX)
|
||||
// Call SandboxBroker to cache directories needed for policy rules, this must
|
||||
// be called after mDirProvider.DoStartup as it needs the profile dir.
|
||||
SandboxBroker::CacheRulesDirectories();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
SaveStateForAppInitiatedRestart();
|
||||
|
Loading…
Reference in New Issue
Block a user