diff --git a/brightray/common/main_delegate.cc b/brightray/common/main_delegate.cc index 8338792a3783..942e8b3504dd 100644 --- a/brightray/common/main_delegate.cc +++ b/brightray/common/main_delegate.cc @@ -13,6 +13,7 @@ #include "brightray/common/content_client.h" #include "content/public/common/content_switches.h" #include "electron/buildflags/buildflags.h" +#include "services/service_manager/embedder/switches.h" #include "ui/base/resource/resource_bundle.h" #include "ui/base/ui_base_switches.h" @@ -26,7 +27,7 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) { return #if defined(OS_POSIX) && !defined(OS_MACOSX) // The zygote process opens the resources for the renderers. - process_type == switches::kZygoteProcess || + process_type == service_manager::switches::kZygoteProcess || #endif #if defined(OS_MACOSX) // Mac needs them too for scrollbar related images and for sandbox