summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 03:45:32 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-16 03:45:32 +0000
commit2b12459a391715f1a77953b511bd550c6bdb3c56 (patch)
tree83444a266e01b192c33da87ec66ca0903bde8474 /crypto
parent0926abf3cf0b81497a761e725918bff6d92b89d8 (diff)
downloadchromium_src-2b12459a391715f1a77953b511bd550c6bdb3c56.zip
chromium_src-2b12459a391715f1a77953b511bd550c6bdb3c56.tar.gz
chromium_src-2b12459a391715f1a77953b511bd550c6bdb3c56.tar.bz2
Use LOG(FATAL) instead of CHECK(false) to force a crash on NSS_NoDB_Init
failure. This prevents the log message from being stripped in official builds. R=eroman@chromium.org BUG=153281 TEST=none Review URL: https://chromiumcodereview.appspot.com/11280021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r--crypto/nss_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc
index 9933d30..26626e7 100644
--- a/crypto/nss_util.cc
+++ b/crypto/nss_util.cc
@@ -229,7 +229,7 @@ base::LazyInstance<ScopedTempDir> g_test_nss_db_dir = LAZY_INSTANCE_INITIALIZER;
void CrashWithErrors(int nss_error, int os_error) {
base::debug::Alias(&nss_error);
base::debug::Alias(&os_error);
- CHECK(false) << "nss_error=" << nss_error << ", os_error=" << os_error;
+ LOG(FATAL) << "nss_error=" << nss_error << ", os_error=" << os_error;
}
class NSSInitSingleton {