Chromium Code Reviews| Index: base/logging.cc |
| diff --git a/base/logging.cc b/base/logging.cc |
| index a9ce81584aed2e5791e7e63cc23eb1cafdcde04f..ee4a4da64760c58e7aa1a511a4b29035b8916d30 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() { |