Skip to content

Commit

Permalink
fix: allow ppapi processes access to resource bundle on all platforms (
Browse files Browse the repository at this point in the history
…#29831)

* 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>
  • Loading branch information
4 people committed Jun 22, 2021
1 parent 0fe50bb commit 8cd0c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/app/electron_main_delegate.cc
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8cd0c81

Please sign in to comment.