mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-15 19:50:44 +01:00
Merge revision 1358 changes:
- Mac: Don't call OverrideChildProcessPath in child processes (issue #806). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1547@1359 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
fd47a510f0
commit
bee35bc8e6
@ -335,11 +335,15 @@ bool CefMainDelegate::BasicStartupComplete(int* exit_code) {
|
||||
}
|
||||
|
||||
void CefMainDelegate::PreSandboxStartup() {
|
||||
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
OverrideChildProcessPath();
|
||||
if (!command_line.HasSwitch(switches::kProcessType)) {
|
||||
// Only override the child process path when executing the main process.
|
||||
OverrideChildProcessPath();
|
||||
}
|
||||
#endif
|
||||
|
||||
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
||||
if (command_line.HasSwitch(switches::kDisablePackLoading))
|
||||
content_client_.set_pack_loading_disabled(true);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user