From 3ba7e0887015ba6a59579c4de08a6d609f851c23 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 7 Aug 2010 02:57:59 +0000 Subject: 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 --- chrome/browser/zygote_host_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/zygote_host_linux.cc') 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 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); -- cgit v1.1