From 0ad73ac423bcd787405ad619b06934ed47e13a3a Mon Sep 17 00:00:00 2001 From: Keeley Hammond Date: Mon, 21 Jun 2021 20:46:53 -0700 Subject: [PATCH] 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 --- shell/app/electron_main_delegate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/app/electron_main_delegate.cc b/shell/app/electron_main_delegate.cc index e65333bc65ff..e19e9565adea 100644 --- a/shell/app/electron_main_delegate.cc +++ b/shell/app/electron_main_delegate.cc @@ -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; }