Index: base/nss_util.cc |
diff --git a/base/nss_util.cc b/base/nss_util.cc |
index 0d7ec078edf911ba2acf34d83b6543e858a62521..ac6752e1d2f766170dbff2224e1497421dae973e 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"); |
} |
} |