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 (#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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user