diff options
author | ncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-02 10:57:44 +0000 |
---|---|---|
committer | ncbray@chromium.org <ncbray@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-02 10:57:44 +0000 |
commit | 3afa6af5c62863d3e4beafce49cb189e4e418d05 (patch) | |
tree | 2df0728d47ec676eb4d90e34da9c40ef46364c8e /chrome/nacl | |
parent | 193559b81078baed256db62d9c53df1ea1e00c54 (diff) | |
download | chromium_src-3afa6af5c62863d3e4beafce49cb189e4e418d05.zip chromium_src-3afa6af5c62863d3e4beafce49cb189e4e418d05.tar.gz chromium_src-3afa6af5c62863d3e4beafce49cb189e4e418d05.tar.bz2 |
Revert 134369 "Enable NaCl's validation cache."
This change broke NaCl on Linux when the sandbox was enabled. NSS was being
lazily loaded, which didn't work once the sandbox was up. This regression was
not caught because the Linux bots do not enable the sandbox.
BUG= http://code.google.com/p/chromium/issues/detail?id=125636
TEST= none
Review URL: http://codereview.chromium.org/10283010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
-rw-r--r-- | chrome/nacl/nacl_listener.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/nacl/nacl_listener.cc b/chrome/nacl/nacl_listener.cc index c4b6463..d6e081d 100644 --- a/chrome/nacl/nacl_listener.cc +++ b/chrome/nacl/nacl_listener.cc @@ -206,7 +206,8 @@ void NaClListener::OnMsgStart(const nacl::NaClStartParams& params) { args->irt_fd = irt_handle; #endif - if (CheckEnvVar("NACL_VALIDATION_CACHE", true)) { + if (CheckEnvVar("NACL_VALIDATION_CACHE", false)) { + LOG(INFO) << "NaCl validation cache enabled."; // The cache structure is not freed and exists until the NaCl process exits. args->validation_cache = CreateValidationCache( new BrowserValidationDBProxy(this), params.validation_cache_key, |