fix: make plugin helper executable unconditional (#36971)
This commit is contained in:
parent
c3f02d7df2
commit
cdb65c15a8
3 changed files with 2 additions and 13 deletions
|
@ -474,15 +474,10 @@ void ElectronBrowserClient::AppendExtraCommandLineSwitches(
|
|||
content::ChildProcessHost::CHILD_RENDERER);
|
||||
auto gpu_child_path = content::ChildProcessHost::GetChildPath(
|
||||
content::ChildProcessHost::CHILD_GPU);
|
||||
#if BUILDFLAG(ENABLE_PLUGINS)
|
||||
auto plugin_child_path = content::ChildProcessHost::GetChildPath(
|
||||
content::ChildProcessHost::CHILD_PLUGIN);
|
||||
#endif
|
||||
if (program != renderer_child_path && program != gpu_child_path
|
||||
#if BUILDFLAG(ENABLE_PLUGINS)
|
||||
&& program != plugin_child_path
|
||||
#endif
|
||||
) {
|
||||
if (program != renderer_child_path && program != gpu_child_path &&
|
||||
program != plugin_child_path) {
|
||||
child_path = content::ChildProcessHost::GetChildPath(
|
||||
content::ChildProcessHost::CHILD_NORMAL);
|
||||
CHECK_EQ(program, child_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue