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-04 23:43:20 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 23:43:20 +0000
commit9432ade948544ddd1c0c982cc1201e06061e8bb3 (patch)
tree9c9c40c596e199cc738b2e09ad074f03f2e1b8c4 /base/nss_util.cc
parent3a77e46f0b4616c4f2a33b76cdb0de75dfb8a5d5 (diff)
downloadchromium_src-9432ade948544ddd1c0c982cc1201e06061e8bb3.zip
chromium_src-9432ade948544ddd1c0c982cc1201e06061e8bb3.tar.gz
chromium_src-9432ade948544ddd1c0c982cc1201e06061e8bb3.tar.bz2
base: rename Environment::HasEnv to Environment::HasVar.
This is the part 2 of this series. More two comming. 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/3035050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54996 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 0d7ec07..ac6752e 100644
--- a/base/nss_util.cc
+++ b/base/nss_util.cc
@@ -82,7 +82,7 @@ void UseLocalCacheOfNSSDatabaseIfNFS(const FilePath& database_dir) {
if (buf.f_type == NFS_SUPER_MAGIC) {
scoped_ptr<base::Environment> env(base::Environment::Create());
const char* use_cache_env_var = "NSS_SDB_USE_CACHE";
- if (!env->HasEnv(use_cache_env_var))
+ if (!env->HasVar(use_cache_env_var))
env->SetEnv(use_cache_env_var, "yes");
}
}