diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-12 09:13:00 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-16 09:58:26 +0000 |
commit | 03561cae90f1d99b5c54b1ef3be69f10e882b25e (patch) | |
tree | cc5f0958e823c044e7ae51cc0117fe51432abe5e /chromium/base/syslog_logging.cc | |
parent | fa98118a45f7e169f8846086dc2c22c49a8ba310 (diff) | |
download | qtwebengine-chromium-03561cae90f1d99b5c54b1ef3be69f10e882b25e.tar.gz |
BASELINE: Update Chromium to 88.0.4324.208
Change-Id: I3ae87d23e4eff4b4a469685658740a213600c667
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/syslog_logging.cc')
-rw-r--r-- | chromium/base/syslog_logging.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chromium/base/syslog_logging.cc b/chromium/base/syslog_logging.cc index 1334927bfd0..ae507b2d8b8 100644 --- a/chromium/base/syslog_logging.cc +++ b/chromium/base/syslog_logging.cc @@ -106,14 +106,14 @@ EventLogMessage::~EventLogMessage() { std::string message(log_message_.str()); WORD log_type = EVENTLOG_ERROR_TYPE; switch (log_message_.severity()) { - case LOG_INFO: + case LOGGING_INFO: log_type = EVENTLOG_INFORMATION_TYPE; break; - case LOG_WARNING: + case LOGGING_WARNING: log_type = EVENTLOG_WARNING_TYPE; break; - case LOG_ERROR: - case LOG_FATAL: + case LOGGING_ERROR: + case LOGGING_FATAL: // The price of getting the stack trace is not worth the hassle for // non-error conditions. base::debug::StackTrace trace; @@ -143,16 +143,16 @@ EventLogMessage::~EventLogMessage() { // See sys/syslog.h for reference. int priority = 3; switch (log_message_.severity()) { - case LOG_INFO: + case LOGGING_INFO: priority = 6; break; - case LOG_WARNING: + case LOGGING_WARNING: priority = 4; break; - case LOG_ERROR: + case LOGGING_ERROR: priority = 3; break; - case LOG_FATAL: + case LOGGING_FATAL: priority = 2; break; } |