mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-15 11:30:11 +01:00
Linux: Force use of the sub-process executable path for the zygote process (issue #980).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1289 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
8c5a5c8ff1
commit
15c1e43a99
@ -468,10 +468,10 @@ void CefContentBrowserClient::AppendExtraCommandLineSwitches(
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
if (process_type == switches::kZygoteProcess &&
|
||||
command_line->HasSwitch(switches::kBrowserSubprocessPath)) {
|
||||
browser_cmd.HasSwitch(switches::kBrowserSubprocessPath)) {
|
||||
// Force use of the sub-process executable path for the zygote process.
|
||||
const base::FilePath& subprocess_path =
|
||||
command_line->GetSwitchValuePath(switches::kBrowserSubprocessPath);
|
||||
browser_cmd.GetSwitchValuePath(switches::kBrowserSubprocessPath);
|
||||
if (!subprocess_path.empty())
|
||||
command_line->SetProgram(subprocess_path);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user