kZygoteProcess moved into service_manager
This commit is contained in:
parent
f9ed25dd78
commit
4e679a3f28
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
||||||
#include "brightray/common/content_client.h"
|
#include "brightray/common/content_client.h"
|
||||||
#include "content/public/common/content_switches.h"
|
#include "content/public/common/content_switches.h"
|
||||||
#include "electron/buildflags/buildflags.h"
|
#include "electron/buildflags/buildflags.h"
|
||||||
|
#include "services/service_manager/embedder/switches.h"
|
||||||
#include "ui/base/resource/resource_bundle.h"
|
#include "ui/base/resource/resource_bundle.h"
|
||||||
#include "ui/base/ui_base_switches.h"
|
#include "ui/base/ui_base_switches.h"
|
||||||
|
|
||||||
|
@ -26,7 +27,7 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) {
|
||||||
return
|
return
|
||||||
#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
#if defined(OS_POSIX) && !defined(OS_MACOSX)
|
||||||
// The zygote process opens the resources for the renderers.
|
// The zygote process opens the resources for the renderers.
|
||||||
process_type == switches::kZygoteProcess ||
|
process_type == service_manager::switches::kZygoteProcess ||
|
||||||
#endif
|
#endif
|
||||||
#if defined(OS_MACOSX)
|
#if defined(OS_MACOSX)
|
||||||
// Mac needs them too for scrollbar related images and for sandbox
|
// Mac needs them too for scrollbar related images and for sandbox
|
||||||
|
|
Loading…
Reference in a new issue