Browse Source

kZygoteProcess moved into service_manager

Jeremy Apthorp 6 years ago
parent
commit
4e679a3f28
1 changed files with 2 additions and 1 deletions
  1. 2 1
      brightray/common/main_delegate.cc

+ 2 - 1
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