Remove CefSettings.single_process. This mode is not supported and CefSettings makes it too easy to enable. The command-line flag still exists.

This commit is contained in:
Marshall Greenblatt
2018-07-09 13:31:32 -04:00
parent 9e22c975fa
commit 9229cdd0eb
3 changed files with 0 additions and 12 deletions

View File

@@ -151,14 +151,6 @@ typedef struct _cef_settings_t {
/// ///
size_t size; size_t size;
///
// Set to true (1) to use a single process for the browser and renderer. This
// run mode is not officially supported by Chromium and is less stable than
// the multi-process default. Also configurable using the "single-process"
// command-line switch.
///
int single_process;
/// ///
// Set to true (1) to disable the sandbox for sub-processes. See // Set to true (1) to disable the sandbox for sub-processes. See
// cef_sandbox_win.h for requirements to enable the sandbox on Windows. Also // cef_sandbox_win.h for requirements to enable the sandbox on Windows. Also

View File

@@ -539,7 +539,6 @@ struct CefSettingsTraits {
static inline void set(const struct_type* src, static inline void set(const struct_type* src,
struct_type* target, struct_type* target,
bool copy) { bool copy) {
target->single_process = src->single_process;
target->no_sandbox = src->no_sandbox; target->no_sandbox = src->no_sandbox;
cef_string_set(src->browser_subprocess_path.str, cef_string_set(src->browser_subprocess_path.str,
src->browser_subprocess_path.length, src->browser_subprocess_path.length,

View File

@@ -320,9 +320,6 @@ bool CefMainDelegate::BasicStartupComplete(int* exit_code) {
const_cast<base::CommandLine::SwitchMap*>(&map)->clear(); const_cast<base::CommandLine::SwitchMap*>(&map)->clear();
} }
if (settings.single_process)
command_line->AppendSwitch(switches::kSingleProcess);
bool no_sandbox = settings.no_sandbox ? true : false; bool no_sandbox = settings.no_sandbox ? true : false;
if (settings.browser_subprocess_path.length > 0) { if (settings.browser_subprocess_path.length > 0) {