зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1445025: Part 3 - Change blocklist init flags for browser process so that they can be modified by launcher process; r=mhowell
--HG-- extra : rebase_source : a30a994322570d65ba2f4d4fba97b99738e58c0b
This commit is contained in:
Родитель
05eb3b3d8a
Коммит
163c625fbe
|
@ -254,6 +254,11 @@ InitXPCOMGlue()
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
#ifdef HAS_DLL_BLOCKLIST
|
||||
// NB: This must be extern, as this value is checked elsewhere
|
||||
uint32_t gBlocklistInitFlags = eDllBlocklistInitFlagDefault;
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[], char* envp[])
|
||||
{
|
||||
mozilla::TimeStamp start = mozilla::TimeStamp::Now();
|
||||
|
@ -289,7 +294,7 @@ int main(int argc, char* argv[], char* envp[])
|
|||
#endif
|
||||
|
||||
#ifdef HAS_DLL_BLOCKLIST
|
||||
DllBlocklist_Initialize();
|
||||
DllBlocklist_Initialize(gBlocklistInitFlags);
|
||||
#endif
|
||||
|
||||
nsresult rv = InitXPCOMGlue();
|
||||
|
|
Загрузка…
Ссылка в новой задаче