diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-07 02:57:59 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-07 02:57:59 +0000 |
commit | 3ba7e0887015ba6a59579c4de08a6d609f851c23 (patch) | |
tree | d4b3ab95c9fa344346e2a1d3357916771587dcd1 /chrome/browser/zygote_host_linux.cc | |
parent | 3eac24a2b4c9438196899e62ac2f3ae5f03ba039 (diff) | |
download | chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.zip chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.tar.gz chromium_src-3ba7e0887015ba6a59579c4de08a6d609f851c23.tar.bz2 |
base: rename Environment::GetEnv to Environment::GetVar.
This is the part 4 and the latest of this series.
BUG=None
TEST=trybots
Review URL: http://codereview.chromium.org/3029062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/zygote_host_linux.cc')
-rw-r--r-- | chrome/browser/zygote_host_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc index 0d57b55..f01bcf1 100644 --- a/chrome/browser/zygote_host_linux.cc +++ b/chrome/browser/zygote_host_linux.cc @@ -43,7 +43,7 @@ static void SaveSUIDUnsafeEnvironmentVariables() { scoped_ptr<base::Environment> env(base::Environment::Create()); std::string value; - if (env->GetEnv(envvar, &value)) + if (env->GetVar(envvar, &value)) env->SetVar(saved_envvar, value); else env->UnSetVar(saved_envvar); |