summaryrefslogtreecommitdiffstats
path: root/base/nss_util.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 01:03:37 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 01:03:37 +0000
commitc87bcf000fde1dd7194b5e40e8c9f1058700dd9d (patch)
tree96a15051e2b4c4fffec09174936c50654a52587f /base/nss_util.cc
parent75464782c1f117bc736cb253c8df39572cc389c9 (diff)
downloadchromium_src-c87bcf000fde1dd7194b5e40e8c9f1058700dd9d.zip
chromium_src-c87bcf000fde1dd7194b5e40e8c9f1058700dd9d.tar.gz
chromium_src-c87bcf000fde1dd7194b5e40e8c9f1058700dd9d.tar.bz2
base: rename Environment::SetEnv to Environment::SetVar.
This is the part 3 of this series. One more remaining. Splitting this into small parts, so it is more easy to review and reduce the size of the CL. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/2836088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55168 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nss_util.cc')
-rw-r--r--base/nss_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/nss_util.cc b/base/nss_util.cc
index ac6752e..cd44fed 100644
--- a/base/nss_util.cc
+++ b/base/nss_util.cc
@@ -83,7 +83,7 @@ void UseLocalCacheOfNSSDatabaseIfNFS(const FilePath& database_dir) {
scoped_ptr<base::Environment> env(base::Environment::Create());
const char* use_cache_env_var = "NSS_SDB_USE_CACHE";
if (!env->HasVar(use_cache_env_var))
- env->SetEnv(use_cache_env_var, "yes");
+ env->SetVar(use_cache_env_var, "yes");
}
}
#endif // defined(OS_LINUX)