From deba0ff3212e9c8a263ade6280cfba4c5a1843d1 Mon Sep 17 00:00:00 2001 From: "akalin@chromium.org" Date: Wed, 3 Nov 2010 05:30:14 +0000 Subject: Fixed bug where CHECKs don't fire if min_log_level > FATAL BUG=61510 TEST=New unittests in base_unittests Review URL: http://codereview.chromium.org/4262001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64883 0039d316-1c4b-4281-b951-d872f2087c98 --- base/logging.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/logging.cc') diff --git a/base/logging.cc b/base/logging.cc index a9ce815..ee4a4da 100644 --- a/base/logging.cc +++ b/base/logging.cc @@ -382,7 +382,7 @@ bool BaseInitLoggingImpl(const PathChar* new_log_file, } void SetMinLogLevel(int level) { - min_log_level = level; + min_log_level = std::min(LOG_ERROR_REPORT, level); } int GetMinLogLevel() { -- cgit v1.1