mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: allow ppapi processes access to resource bundle on all platforms (#29830)
* 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 * chore: remove incorrectly backported patches Co-authored-by: VerteDinde <keeleymhammond@gmail.com> Co-authored-by: VerteDinde <khammond@slack-corp.com> Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
This commit is contained in:
@@ -88,9 +88,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user