diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-13 01:30:47 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-13 01:30:47 +0000 |
commit | dbac1f5db7e8d7e16f407354713d7e6e04a6e0bf (patch) | |
tree | 992ed2516c3255fbe22d76bd5be75d7aabfe00a2 | |
parent | 3d7ab72b0c0a6b43fa69985e6d6b39ec66dac6af (diff) | |
download | chromium_src-dbac1f5db7e8d7e16f407354713d7e6e04a6e0bf.zip chromium_src-dbac1f5db7e8d7e16f407354713d7e6e04a6e0bf.tar.gz chromium_src-dbac1f5db7e8d7e16f407354713d7e6e04a6e0bf.tar.bz2 |
This should stop the random hangs due to chrome/app/chrome_dll_main.cc(616)] Check failed: PathService::Override(chrome::DIR_USER_DATA, user_data_dir)??
Revert 41369 - Linux: Pass userdatadir to the Zygote.
BUG=none
TEST=On Linux, "chrome enablelogging userdatadir=/tmp/foobar" writes renderer logs to chrome_debug.log in /tmp/foobar rather than in $XDG_CONFIG_HOME.
Review URL: http://codereview.chromium.org/885003
TBR=thestig@chromium.org
Review URL: http://codereview.chromium.org/848009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41518 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/zygote_host_linux.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc index 96506bb..3b6a160 100644 --- a/chrome/browser/zygote_host_linux.cc +++ b/chrome/browser/zygote_host_linux.cc @@ -97,12 +97,6 @@ void ZygoteHost::Init(const std::string& sandbox_cmd) { browser_command_line.GetSwitchValueASCII( switches::kEnableLogging)); } - if (browser_command_line.HasSwitch(switches::kUserDataDir)) { - // Append with value so logs go to the right file. - cmd_line.AppendSwitchWithValue(switches::kUserDataDir, - browser_command_line.GetSwitchValueASCII( - switches::kUserDataDir)); - } if (browser_command_line.HasSwitch(switches::kEnableSeccompSandbox)) { cmd_line.AppendSwitch(switches::kEnableSeccompSandbox); } |