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:
Keeley Hammond 2021-06-21 20:46:53 -07:00 committed by GitHub
parent 98d2824c7f
commit 0ad73ac423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}