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
…#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
  • Loading branch information
VerteDinde committed Jun 22, 2021
1 parent 98d2824 commit 0ad73ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/app/electron_main_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0ad73ac

Please sign in to comment.