| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 5731df87c71d0f4de76657e505412749ca546a1b..f6c7c7153b2f5bd1d591347b16c76e02fe5ab2fd 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1697,6 +1697,13 @@ void RenderProcessHostImpl::AppendRendererCommandLine(
|
| GetContentClient()->browser()->GetApplicationLocale();
|
| command_line->AppendSwitchASCII(switches::kLang, locale);
|
|
|
| + // A non-empty RendererCmdPrefix implies that Zygote is disabled.
|
| + if (!base::CommandLine::ForCurrentProcess()
|
| + ->GetSwitchValueNative(switches::kRendererCmdPrefix)
|
| + .empty()) {
|
| + command_line->AppendSwitch(switches::kNoZygote);
|
| + }
|
| +
|
| GetContentClient()->browser()->AppendExtraCommandLineSwitches(command_line,
|
| GetID());
|
|
|
| @@ -1840,6 +1847,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
| switches::kMSEVideoBufferSizeLimit,
|
| switches::kNoReferrers,
|
| switches::kNoSandbox,
|
| + switches::kNoZygote,
|
| switches::kOverridePluginPowerSaverForTesting,
|
| switches::kPassiveListenersDefault,
|
| switches::kPpapiInProcess,
|
|
|