From 3e43b3a8b107a57a311a6f8c279c3683917e587c Mon Sep 17 00:00:00 2001 From: "hclam@google.com" Date: Tue, 5 Apr 2011 18:04:47 +0000 Subject: Fix NSS in single process mode We used to initialize NSS without DB in single process mode. This caused going to https site faile in single process mode. This patch fixes it. BUG=None TEST=None Review URL: http://codereview.chromium.org/6670133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80487 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_process_impl.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chrome/renderer') diff --git a/chrome/renderer/render_process_impl.cc b/chrome/renderer/render_process_impl.cc index 917b3f6..e6c3193 100644 --- a/chrome/renderer/render_process_impl.cc +++ b/chrome/renderer/render_process_impl.cc @@ -161,7 +161,9 @@ RenderProcessImpl::RenderProcessImpl() #if defined(OS_LINUX) // Remoting requires NSS to function properly. - if (command_line.HasSwitch(switches::kEnableRemoting)) { + + if (!command_line.HasSwitch(switches::kSingleProcess) && + command_line.HasSwitch(switches::kEnableRemoting)) { #if defined(USE_NSS) // We are going to fork to engage the sandbox and we have not loaded // any security modules so it is safe to disable the fork check in NSS. -- cgit v1.1