Browse Source

fix: allow ppapi processes access to resource bundle on all platforms (#29827)

* wip: debug resource bundle failure

* fix: include ppapi subprocesses for windows resource bundle

* fix: allow ppapi plugin processes access to resource bundle on all platforms.

Aligns with chrome_main_delegate here: https://chromium-review.googlesource.com/c/chromium/src/+/2619003
Keeley Hammond 3 years ago
parent
commit
0ad73ac423
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shell/app/electron_main_delegate.cc

+ 1 - 1
shell/app/electron_main_delegate.cc

@@ -97,9 +97,9 @@ bool SubprocessNeedsResourceBundle(const std::string& process_type) {
 #if defined(OS_MAC)
       // Mac needs them too for scrollbar related images and for sandbox
       // profiles.
-      process_type == ::switches::kPpapiPluginProcess ||
       process_type == ::switches::kGpuProcess ||
 #endif
+      process_type == ::switches::kPpapiPluginProcess ||
       process_type == ::switches::kRendererProcess ||
       process_type == ::switches::kUtilityProcess;
 }