зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1708488 - Initialize NSS earlier in preallocated processes for fisson r=jesup,keeler
Differential Revision: https://phabricator.services.mozilla.com/D114907
This commit is contained in:
Родитель
cd7cdb6548
Коммит
f575b80072
|
@ -9,6 +9,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "BrowserChild.h"
|
#include "BrowserChild.h"
|
||||||
|
#include "nsNSSComponent.h"
|
||||||
#include "ContentChild.h"
|
#include "ContentChild.h"
|
||||||
#include "GeckoProfiler.h"
|
#include "GeckoProfiler.h"
|
||||||
#include "HandlerServiceChild.h"
|
#include "HandlerServiceChild.h"
|
||||||
|
@ -2588,7 +2589,7 @@ mozilla::ipc::IPCResult ContentChild::RecvRemoteType(
|
||||||
}
|
}
|
||||||
|
|
||||||
// A method to initialize anything we need during the preallocation phase
|
// A method to initialize anything we need during the preallocation phase
|
||||||
void ContentChild::PreallocInit() {}
|
void ContentChild::PreallocInit() { EnsureNSSInitializedChromeOrContent(); }
|
||||||
|
|
||||||
// Call RemoteTypePrefix() on the result to remove URIs if you want to use this
|
// Call RemoteTypePrefix() on the result to remove URIs if you want to use this
|
||||||
// for telemetry.
|
// for telemetry.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче