mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
d0b6b794db
This patch adjusts the various places where we initialize content processes to call SetGeckoProcessType as early as possible, and be more consistent. After this change we should only ever set GeckoProcessType and GeckoChildID once per-process (with the exception of the fork server process). In addition to this validation, some more checks around the fork server were added, such as to prevent forking another forkserver, or forking a non-content process. As part of this change, there was some refactoring/cleanup done, such as removing plugin-container.cpp and content_process_main, as compared to the other duplicated code between the two call-sites, the duplication was relatively small, and inlining it helped make things more readable. Differential Revision: https://phabricator.services.mozilla.com/D218471 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
docs | ||
glue | ||
gtest | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |